Ok - I'm having a bad start to the day and this is driving me nuts. I'm using the Convention plugin, and below I've attached a copy of my struts.xml. As you can see I've got two custom interceptors which I'm adding to a copy of the param-prepare-param stack.
Through logging I can see that my two custome interceptors are being initialized (their constructors are being called) but thereafter neither of the interceptors intercept() method is being invoked. Using the config-browser plugin I see that my custom interceptors are *not* in the stack for the default, admin or diagnostic namespaces. Further none of the namespaces are using the param-prepare-param stack the first Parameter interceptor is missing as well. It looks like I'm using the bog-standard struts-default stack. What on arth have I missed? Regards <struts> <constant name="struts.enable.DynamicMethodInvocation" value="true" /> <constant name="struts.devMode" value="true" /> <constant name="struts.objectFactory" value="org.apache.struts2.spring.StrutsSpringObjectFactory" /> <package name="default" extends="struts-default"> <interceptors> <interceptor name="redirectMessage" class="com.blackbox.genesis.interceptors.RedirectMessageInterceptor"/> <interceptor name="connectionStoreMonitor" class="com.blackbox.genesis.interceptors.ConnectionStoreMonitorInterceptor"/> <interceptor-stack name="secureStack"> <interceptor-ref name="redirectMessage"/> <interceptor-ref name="exception"/> <interceptor-ref name="connectionStoreMonitor"/> <interceptor-ref name="alias"/> <interceptor-ref name="params"/> <interceptor-ref name="servletConfig"/> <interceptor-ref name="i18n"/> <interceptor-ref name="prepare"/> <interceptor-ref name="chain"/> <interceptor-ref name="debugging"/> <interceptor-ref name="scopedModelDriven"/> <interceptor-ref name="modelDriven"/> <interceptor-ref name="fileUpload"/> <interceptor-ref name="checkbox"/> <interceptor-ref name="multiselect"/> <interceptor-ref name="staticParams"/> <interceptor-ref name="actionMappingParams"/> <interceptor-ref name="params"> dojo\..*,^struts\..* </interceptor-ref> <interceptor-ref name="conversionError"/> <interceptor-ref name="validation"> input,back,cancel,browse </interceptor-ref> <interceptor-ref name="workflow"> input,back,cancel,browse </interceptor-ref> </interceptor-stack> </interceptors> <default-interceptor-ref name="secureStack"/> </package> <!-- Add packages here --> <package name="admin" namespace="/admin" extends="default"/> <package name="diagnostics" extends="default"/> </struts> -- View this message in context: http://old.nabble.com/Interceptor-stack-tp28592300p28592300.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org