Hi,
im trying to catch java exceptions in web.xml:
<error-page>
<exception-type> java.lang.Exception</exception-type>
/errors.jsp?error=Exception
-----------
</error-page> ^^^
but, can i put the exception as a parameter to errors.jsp ??
I want to put in the parameter all the stack:
Exception.printStackTrace() or the object Exception
Take this parameter in error.jsp and print it (or the stack trace) in a html page.
For example:
..../errors.jsp?java.lang.NullPointerException at project.main(test.java:16)
Thanks for yours coments...