• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to debug JSP in eclipse

 
Greenhorn
Posts: 27
Hibernate Oracle Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Currently we got a new module which has JSPs and Servlets. We need to test that one..

Can anybody help me out in how to debug those in ECLIPSE. I am aware of stand-alone applications debugging. Not the JSP and Servlets.

Thanks in Advance,
Kumaresan N
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the IDEs forum where Eclipse questions are handled.
 
Bartender
Posts: 1845
10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What specific server are you using?
The easiest way is to actually start your server from within Eclipse.
That way you can set break poitns in your servlet code, and step through it as normal.

Take a look in the Window references, under server->Installed Runtimes.
Add your server here (if available) and you should be able to run it from Eclipse.
 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ,

I am using Tomcat, am running (start/stop)my server from eclipse, please guide me how to debug....jsp files

Sethu.
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://www.eclipse.org/webtools/initial-contribution/IBM/evalGuides/ServerToolsEval.html

3.2 Scenario 2 - Debugging a JSP on Tomcat v5.0

Good luck,
 
Frederik Ericsson
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Liao,

Thanks for your reply. I got tomcat 4.1 with jre 1.4 & eclipse 3.0

But I can find web browser in preference.

"Go to Window > Preferences and then select Web Browser.
This page displays the Web browsers that have been found on your machine, and allows you to add and remove them from the list. The checked Web browser is the one that will be used by the tools. On most operating systems "Internal Web browser" will be checked by default"

do i need to install the tomcat 5 to get the web browser in the Window > Preference

please helpme

Frederik
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic