This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
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"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet prinln stmt query
 
Similar Threads
Log trace missing in catalina.out
Is any way We can tell JSF to not response
Struts2 Action Not forwarding to a result
help, cannot find symbol - variable (using hashmaps)
JNDI Context Name