| Author |
where is the output for System.out.println?
|
Lucas Mach
Greenhorn
Joined: Mar 31, 2005
Posts: 15
|
|
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
Joined: Dec 11, 2004
Posts: 13410
|
|
It depends on what server you are using (and what, if any, logging package). What are you using?
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Lucas Mach
Greenhorn
Joined: Mar 31, 2005
Posts: 15
|
|
|
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
Joined: Dec 11, 2004
Posts: 13410
|
|
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
|
 |
 |
|
|
subject: where is the output for System.out.println?
|
|
|