How can I debug with the Java source that Tomcat creates for a JSP?
This is feasible with Tomcat 5.0.x and later. However, you should be aware that if you are serving multiple Web applications, the debugger will not be able to tell in which Web application a break point is occurring. The hope is that the class will be unique across all Web applications and finding the right source file just requires searching all Web applications. In the case of JSP, the servlet class generated for a JSP will be the same in each Web application for JSPs with the same name and location. Thus, if you set a breakpoint in an index.jsp file in one Web application, you effectively set a breakpoint in all index.jsp files at the same location in all other Web applications. The first part is to add the appropriate Tomcat “work” folder to the launch configuration source paths. Follow these steps to make this addition: • Open the server editor by right-clicking on the Tomcat server in the Servers view and selecting Open, or double-clicking the server. • Click the Open launch conf