Using: Tomcat 5.5.9 on Windows XP
Why do JSPs compiled under Jasper not have .java in their Stack trace.
For example,
The JSP:
<%
String s=null;
Integer i=new Integer(s);
%>
Generates the following stack trace:
Jun 26, 2005 12:41:07 PM org.apache.catalina.cre.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:415)
at java.lang.Integer.<init>(Integer.java:620)
at
org.apache.jsp.myexception_jsp._jspService(org.apache.jsp.myexception_js
p:44)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
... etc ...
Note the third entry in the stack reads:
at
org.apache.jsp.myexception_jsp._jspService(org.apache.jsp.myexception_js
p:44)
Instead of:
at
org.apache.jsp.myexception_jsp._jspService(myexception_jsp.java:44)
I am using Eclipse/MyEclipse to develop applications for the Tomcat
platform. I
have sucessfully mapped the tomcat/work root of the application as a
Linked
Folder and can refresh and browse the source as needed. However, I
cannot click
on the stack trace entry due to the difference in naming conventions.
I have searched all over but cannot find a solution to this.
Thanks for any help,
--Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]