Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes System.out.println messages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "System.out.println messages" Watch "System.out.println messages" New topic
Author

System.out.println messages

Micky Wong
Greenhorn

Joined: Jan 08, 2011
Posts: 6
Hi,
I am using Tomcat 7. I am writing a servlet program into Tomcat. I would like to know if I write System.out.println() in the servlet. Where would I find them in Tomcat?
Thank you.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

That greatly depends on what OS you are running.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Micky Wong
Greenhorn

Joined: Jan 08, 2011
Posts: 6
I am using Windows Vista.
Thanks for replying.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
When I execute Tomcat in a Command Prompt window using startup, all System.out.println goes to the command prompt window - I usually set the screen buffer size to several hundred lines to facilitate scrolling back. Thats in Windows XP.

Bill
Micky Wong
Greenhorn

Joined: Jan 08, 2011
Posts: 6
Thanks, my problem is solved. The problem is that I have been using Monitor Tomcat application for Tomcat 7. When I type command tomcat7 pointing to the directory of the bin folder of my tomcat directory in the command prompt. It works like I use Start Tomcat for Tomcat 4 or older version.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: System.out.println messages
 
Similar Threads
Tomcat autorun
Servlet init method behavior
Using TLD in JSP
Logging in tomcat-3.2.3 / System.out.println()
web.xml autorun