I have a plugin in my struts application to initialize the required ressources. If for some reason the processing fails, I catch the exception and throw a ServletException but the jsp error mechanism in not used and the client receive a tomcat 404 page in place of my """beautifull ;-)""" error page (however I have no problem to use my error page when an error occurs in a classical struts action or jsp.

public void init(ActionServlet servlet, ModuleConfig config) throws ServletException { try{
           /*
            * Performs some checks here
*/ }
       catch(Exception ex)
       {
           ex.printStackTrace();
           throw new ServletException(ex);
       }
}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to