I'm using Karaf 2.2.2/PAX WEB 1.0.4 and Karaf 2.2.4/PAX WEB 1.0.7 to deploy
some WAB bundles.

For the most part everything is working as expected. The one thing I can't
seem to get working is custom error pages in my web.xml:

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

Try as I might, I always get the default Jetty error message. I can access
my "/error.jsp" page directly without issue.

Any ideas where to start? I've been surfing the forms and mailing lists for
Karaf and Pax-WEB and haven't found any solutions.

PS. I posted this a few months back but I don't think it got to the mailing
list. I apologize if this gets posted twice. 

--
View this message in context: 
http://karaf.922171.n3.nabble.com/Custom-error-page-in-web-xml-not-working-tp3607253p3607253.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to