Re: custom plugins and exception

2005-12-07 Thread Frank W. Zammetti
Plugins are executed as a result of the call to ActionServlet.init(), so it makes sense that the JSP error handling mechanism would not be involved here. I think the way you'd want to handle this situation involves two pieces... (1) Create a class something like this: public class IsMyAppCon

custom plugins and exception

2005-12-07 Thread Xavier Vanderstukken
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