aspose file tools *
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse and the console Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and the console" Watch "Eclipse and the console" New topic
Author

Eclipse and the console

Arvind Mahendra
Ranch Hand

Joined: Jul 14, 2007
Posts: 1162
I need your help. I was using tomcat 4 and notepad earlier to make my servlets and JSPs. I used to add some S.O.P statements and be able to see them on the dos prmpt which was of great help to me. But now I am using myeclipse and Tomcat 5. when I start tomcat from within eclipse i can see the server starting up on the console within eclipse but it doesn't output any of my S.O.P messages on the console when I'm navigating around my app. Whats goin on?
[ August 03, 2007: Message edited by: Bear Bibeault ]

I want to be like marc
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61794
    
  67

Bikash Jha, welcome to the Ranch.

We've put together some guidelines for making best use of JavaRanch as a resource. You can find then by clicking on the "Smart Questions" link in my sig.

One of these tips is to take the time to compose descriptive subjects for your posts; read this for more information.

I have adjusted the subject of this post for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61794
    
  67

We have a forum just for dealing with IDE issues. I've moved this post there for you.
Scott Anderson III
MyEclipse Support
Greenhorn

Joined: Aug 01, 2007
Posts: 8
Originally posted by Bikash Jha:
I need your help. I was using tomcat 4 and notepad earlier to make my servlets and JSPs. I used to add some S.O.P statements and be able to see them on the dos prmpt which was of great help to me. But now I am using myeclipse and Tomcat 5. when I start tomcat from within eclipse i can see the server starting up on the console within eclipse but it doesn't output any of my S.O.P messages on the console when I'm navigating around my app. Whats goin on?

[ August 03, 2007: Message edited by: Bear Bibeault ]


Bikash,

The issue you're seeing with messages to standard output is that Tomcat 5's logging configuration is simply different and more sophisticated than Tomcat 4. As a result, it has different defaults that cause different behavior. It's not really related to the switch to MyEclipse. However, since you are using MyEclipse, you can now use our full end to end debugging capbility for both JSP pages and Java code to simply set breakpoints, inspect variables, modify your code, etc while your application is running. Please have a look at the MyEclipse Feature Overview presentation, particularly the J2EE Development section to see how this is done. I think you'll find it much easier than debugging by print statements. :-)
 
jQuery in Action, 2nd edition
 
subject: Eclipse and the console