File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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"
I agree. Here's the link:
subject: servlet prinln stmt query
It's not a secret anymore!