Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

where is the output for System.out.println?  RSS feed

 
Lucas Mach
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of my JSP pages uses a class that I have created. In one of my class methods I have a "System.out.println" statement, but I have no idea where this gets printed to. It doesn't print to the webbrowser so I'm assuming maybe a logfile somewhere...Any ideas?

--Lucas
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on what server you are using (and what, if any, logging package).
What are you using?
 
Lucas Mach
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we are using tomcat for the server. i'm not sure about any more details because it's a server set up by my school and we didn't do the whole setup...
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look under TOMCAT_HOME/logs.

The logfile name will differ among different versions of tomcat (and whether you are running on Windows or unix).

Also, you should close this thread as it's a parallel conversation with:
http://www.coderanch.com/t/287040/JSP/java/user-defined-class-JSP-page
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!