aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 61043
    
  66

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: 12769
    
    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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: System.out.println messages