Are you sure you're editing the correct struts.xml? What you have should work.
Matt On 1/22/08, J&M <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using appfuse 2.0.1. I am trying to customise the interceptor stack in > the struts.xml file. I don't seem to be getting anything out of my changes. > Below is the interceptor stack I have modifed. Does it look reasonable? How > can I get log of the interceptor stack activity? Or in what way can I debug > the call stack to see which filters are being called, etc? To me it looks > like this stack defintion is being ignored completely. Any suggestions? > > > > <!-- Configuration for the default package. --> > <package name="default" extends="struts-default"> > > <interceptors> > <!-- Interceptor to handle allowing only admins to certain > actions --> > <interceptor name="adminOnly" class="adminInterceptor"/> > <interceptor name="authz" class="authzInterceptor"/> > > <!-- Copied from struts-default.xml and changed validation > exclude methods --> > <interceptor-stack name="defaultStack"> > <interceptor-ref name="exception"/> > <interceptor-ref name="alias"/> > <interceptor-ref name="servlet-config"/> > <interceptor-ref name="params"/> <!-- added: params > injection for prepare --> > <interceptor-ref name="authz"/> <!-- added: own > interceptor impl --> > <interceptor-ref name="prepare"/> > <interceptor-ref name="i18n"/> > <interceptor-ref name="chain"/> > <interceptor-ref name="debugging"/> > <interceptor-ref name="profiling"/> > <interceptor-ref name="scoped-model-driven"/> > <interceptor-ref name="model-driven"/> > <interceptor-ref name="fileUpload"/> > <interceptor-ref name="checkbox"/> > <interceptor-ref name="static-params"/> > <interceptor-ref name="params"> > dojo\..* > </interceptor-ref> > <interceptor-ref name="conversionError"/> > <interceptor-ref name="validation"> > cancel,execute,delete,edit,list,start > </interceptor-ref> > <interceptor-ref name="workflow"> > input,back,cancel,browse > </interceptor-ref> > </interceptor-stack> > <interceptor-stack name="fileUploadStack"> > <interceptor-ref name="fileUpload"/> > <interceptor-ref name="defaultStack"/> > </interceptor-stack> > <interceptor-stack name="adminCheck"> > <interceptor-ref name="defaultStack"/> > <interceptor-ref name="adminOnly"/> > </interceptor-stack> > </interceptors> > -- > View this message in context: > http://www.nabble.com/Interceptor-stack-help-tp15031208s2369p15031208.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
