debug « Tomcat « JSP-Servlet Q&A





1. How to debug a JSP tomcat service using eclipse?    stackoverflow.com

I would like to debug my separately running JSP/Struts/Tomcat/Hibernate application stack using the Eclipse IDE debugger. How do I setup the java JVM and eclipse so that I can set breakpoints, ...

2. Getting the actual jsp line number from a stack trace line number?    stackoverflow.com

Here is the stacktrace:

...
org.apache.jsp.showcustomer_jsp._jspService(showcustomer_jsp.java:128)
org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
This is what I do:
  1. Get the line number from the stacktrace, in this case 128.
  2. Find the showcustomer_jsp.java file (and it isn't exactly obvious to look in /var/run/tomcat-6/Catalina/localhost/_/org/apache/jsp).
  3. Open ...

3. Debugging a Java program running from Tomcat (JSP)    stackoverflow.com

I don't know why I never found myself having to use a debugger to step through my program and see what was going on, probably because I'm used to using interpreted ...

4. Debugging JSP on a remote Tomcat server from Eclipse + Javascript debugging    stackoverflow.com

I'm working on legacy code for a J2EE application which is installed on my company's DEV server. I use eclipse to debug the JSP by activating debugging on the server's JVM ...

5. How to debug servlet using Eclipse    stackoverflow.com

Have a servlet and it can run inside TomCat. However, I am not sure how to debug it inside Eclipse(Java Standard version). Any suggestions?

6. External jar configuration when debugging JSP in eclipse    stackoverflow.com

Using tomcat 7.0.11 and eclipse 3.6.1. I'm trying to debug a jsp file that uses log4j but I get a class not found error at runtime because tomcat isn't seeing log4j-1.2.16.jar. When ...

7. Remote application debug in eclipse    stackoverflow.com

I m trying to debug some jsp pages in eclipse. These pages depends on some other projects, that are located in workspace. The physical files are located in webapps directory. ...

9. How to debug in servlet in Tomcat?    coderanch.com