This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlet prinln stmt query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet prinln stmt query" Watch "servlet prinln stmt query" New topic

servlet prinln stmt query

shobhit garg
Ranch Hand

Joined: Mar 07, 2004
Posts: 42
hi all
i am developng a servlet for a school prject
i am using tomcat
i need to kow how can we view the out of a system.out.prinln statement
i tried it but it doesn't get printed on the console
earlier once i had to use a j2ee server which showed output of prinln statements on the dos console
i need to put these sop stmts in my code for debugging purposes
can anybody plz help me out
Dmitry Melnik
Ranch Hand

Joined: Dec 18, 2003
Posts: 328
Your web-server might be configured to write all the console output (stdout, stderr) to log files. Check the configuration file and find out what those files are.
Diogo Magalhaes

Joined: Aug 11, 2003
Posts: 17
take a look at logs tomcat/dir.

Diogo Magalhaes
Diogo Magalhaes

Joined: Aug 11, 2003
Posts: 17
I mean "tomcat/logs dir"
Consider Paul's rocket mass heater.
subject: servlet prinln stmt query
Similar Threads
Log trace missing in catalina.out
Struts2 Action Not forwarding to a result
Is any way We can tell JSF to not response
help, cannot find symbol - variable (using hashmaps)
JNDI Context Name