Hi all!

I repeatedly run into the problem that the stack trace of an exception
thrown within a jsp page does not show the appropriate line number.
For instance the output of the stack trace says:

java.lang.Exception
        at
help._0002fhelp_0002fabout_0005fincl_0002ejspabout_0005fincl_jsp_2._jspServi
ce(_0002fhelp_0002fabout_0005fincl_0002ejspabout_0005fincl_jsp_2.java:71)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

Looking at the generated class file (which i found in a subdirectory of
$(tomcat_home)/work) 71 is definitely not the correct line where the
exception was thrown. In other cases the given line number even exceeds the
end of the file.

Of cource I should try to keep as much code as possible outside my jsps. But
still this problem makes it rather annoying  to find the source of an
exception.

Thanks for you help,

Volker.


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to