cedric 2002/12/31 03:38:25 Modified: src/share/org/apache/struts/action ActionServlet.java Log: Catch all exceptions when trying to set the "currentPlugInConfigObject" property during the plugin initialization. This should solve problems encountered whith containers applying strict security. This also should close the bug #15736 Revision Changes Path 1.140 +5 -5 jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java Index: ActionServlet.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v retrieving revision 1.139 retrieving revision 1.140 diff -u -r1.139 -r1.140 --- ActionServlet.java 29 Dec 2002 21:24:38 -0000 1.139 +++ ActionServlet.java 31 Dec 2002 11:38:25 -0000 1.140 @@ -1099,7 +1099,7 @@ // This plugin config object is needed by Tiles try { PropertyUtils.setProperty(plugIns[i], "currentPlugInConfigObject", plugInConfigs[i]); - } catch (NoSuchMethodException e) { + } catch (Exception e) { // silently fail } plugIns[i].init(this, (ModuleConfig) config);
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>