This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes where is the output for System.out.println? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "where is the output for System.out.println?" Watch "where is the output for System.out.println?" New topic
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: where is the output for System.out.println?
 
Similar Threads
Java file name
servlet not running but examples does
print variable in other class??
Java 5.0 static import same members collision from different classes
need help. please. PLEASE!