Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "System.out.println messages" Watch "System.out.println messages" New topic

System.out.println messages

Micky Wong

Joined: Jan 08, 2011
Posts: 6
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

Joined: Jan 10, 2002
Posts: 63346

That greatly depends on what OS you are running.

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

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

Joined: Mar 22, 2000
Posts: 13018
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.

Micky Wong

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:
subject: System.out.println messages
It's not a secret anymore!