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 IDEs, Version Control and other tools and the fly likes Tomcat and Eclipse 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 » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Tomcat and Eclipse" Watch "Tomcat and Eclipse" New topic
Author

Tomcat and Eclipse

Chetan Shah
Greenhorn

Joined: Dec 01, 2005
Posts: 3
Hello,

Wanted to debug a Tomcat web application using Eclipse 3.2.

I have Tomcat integrated with Eclipse.
Can someone provide me with pointers as to how to use Eclipse to debug a JSP page?

Thanks,
Naveen K Garg
Ranch Hand

Joined: Nov 28, 2005
Posts: 105
Hi Chetan,

Debugging JSP page in Eclipse depends largely on the plugin that you are using. If its Sysdeo plugin then all you need to do is create a Tomcat project in eclipse and add all your jsp file to complete your web application.

Then when you run the Tomcat for your webapplication it will generate the Java files for your JSP pages as soon as you access them. The location is typically will be a work folder in the project that you have created.

Once you have java source files you can debug them using the eclipse ide.

Let me know if this solve you problem.

Regards
Naveen
 
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: Tomcat and Eclipse
 
Similar Threads
Favoriate Eclipse Plug-ins
sysdeo plugin
web application debugging
Running Tomcat with Eclipse IDE
How to debug Struts program in Eclipse?