java - Get back to the default Tomcat error page on a redirected error page -


i building java web app using tomcat.

using this:

<error-page>     <error-code>500</error-code>     <location>/error.jsp</location> </error-page> 

in web.xml, redirect user-friendly error page, if server respond error.

i want put link on user-friendly error.jsp page (name technical spec), when user clicks it, he/she gets original tomcat error page.

is possible achieve ? if yes, how go doing that?

i don't know if it's possible can still access error/exception's tech details on redirected page check post you'll find details on below:

if declare <%@page iserrorpage="true" %> in top of error.jsp, have access thrown exception (and of getters) ${exception} in el.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -