wood burning stoves 2.0*
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


JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet prinln stmt query" Watch "servlet prinln stmt query" New topic
Author

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
shobhit
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
Greenhorn

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


Diogo Magalhaes
Diogo Magalhaes
Greenhorn

Joined: Aug 11, 2003
Posts: 17
I mean "tomcat/logs dir"
 
GeeCON Prague 2014
 
subject: servlet prinln stmt query