This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: servlet prinln stmt query
It's not a secret anymore!