The Apache folks have followed up in the bug thread and they’re working on a fix for the next Tomcat release. More importantly though, they’ve given us a workaround. You need to modify your <TomcatConfigDir>/conf/web.xml file to turn on the mappedfile attribute in the JSP servlet. When you do that, it should basically look like this:
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>mappedfile</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
Then, clear out all the working files under the directory <TomcatConfigDir>/work/Catalina/localhost/<your-web-project> to force Tomcat to recompile all your JSP’s the next time they’re run. Once Tomcat is restarted and your pages are hit again the breakpoints should now map to the JSP source code properly.
–Scott
MyEclipse Support