I'm using Jbuilder4 Foundation to debug my servlets:
1) Install Apache, Jserv_mod and Tomcat
2) Install Jbuilder4 Foundation
3) Under JBuilder, create a new project for yours servlets,
4) Go to Project,Project Properties,
5) Select folder "Paths", and click on "Required Libraries"
6) Click "Add", then "New", then "Add"...
7) Include all the jars existing under tomcat_home\lib
8) "OK","OK","OK"
9) Go again to Project properties, select the folder "Run"
10) Define Main class as "org.apache.tomcat.startup.tomcat"
11) Add the following parameter to the VM parameters texbox:
"-Dtomcat.home=/tomcat_home"
12) click "Ok",
13) Include all yours servlets code under this project, execute with
"Run,Run Project". This will be init Tomcat. If you press instead "Run,
Debug Project", you can debug your servlet, defining breakpoint, and watch
expressions.
14) Calls your servlets from your browser.
Att.
Mauricio Nu�ez
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html