I am building a java web app using Tomcat.
Using something like this:
<error-page>
<error-code>500</error-code>
<location>/error.jsp</location>
</error-page>
In the web.xml
, I redirect to a user-friendly error page, if the server respond with an error.
I also want to put a link on this user-friendly error.jsp page (name Technical Spec), so that when the user clicks it, he/she gets back to the original Tomcat error page.
Is it possible to achieve that ? If yes, how would I go about doing that?