java - Configuring an error page in tomcat for multiple web apps -


i have multiple webapps deployed on tomcat. have configured error page in $catalina_base/conf/web.xml :

<error-page>         <exception-type>java.lang.throwable</exception-type>         <location>/error.jsp</location> </error-page> 

my requirement create 1 error.jsp page can accessed webapps. when create error.jsp page , put in $catalina_base/error.jsp location, webapps not able access when exception occurs arithmeticexception. redirects blank page instead.

the way access error page creating individual error page each application , put in respective web_inf folder. want 1 error.jsp file can shared multiple webapps. possible?


Comments