My working environment is like, Struts 1.2 framework with jsp pages, ejb2, db2 database and application server is IBM websphere 9 version. I want to see formbean value in server console. I have written the code for that in jsp file. Example:
<%= "Welcome "+ sampleformbean.getType() %>
<% System.out.println("Welcome "+ sampleformbean.getType()) %>
<% out.println("Welcome "+ sampleformbean.getType()) %>
But nothing is working. Nothing can be seen in server console. I didn't understand why?. Experts help me. I have to complete work.
NOTE: These codes are inside html tag.
You should look at this IBM KnowledgeCenter topic for details on application logging and trace.