• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet prinln stmt query

 
shobhit garg
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
take a look at logs tomcat/dir.
 
Diogo Magalhaes
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean "tomcat/logs dir"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic