0 Replies Latest reply on Nov 2, 2006 6:33 PM by nollie

    Need help setting up error pages

    nollie

      Hello

      I'm using Jboss 2.2 and I'm having trouble setting up error pages. My application is packaged as a .ear containing multiple .wars - one for the portal and the rest for the portlets. Where do I put this declaration? (which web.xml file?)

       <error-page>
       <exception-type>java.lang.Exception</exception-type>
       <location>/exception.jsp</location>
       </error-page>
       <error-page>
       <exception-type>javax.portlet.PortletException</exception-type>
       <location>/portletException.jsp</location>
       </error-page>
      


      Where should I put the error jsps in relation to the web.xml?

      Thanks,
      Jon