hi,
I have created an interceptor to prevent users to access some webwork pages.
1>created my own interceptor to do the required work.
2>Later found out that the index.jsp is getting loaded first and then the interceptors are been invoked.(Its only coz action classes are called after the index.jsp has set.)
3>Now i need to have my Interceptor work before this Menu page gets called.
My default.xwork looks like:
<interceptor-stack name="defaultApplicationStack">
<interceptor-ref name="setUpInterceptor"/>
<interceptor-ref name="profiniaException"/>
<!--Set the params so objects can be loaded by prepare-->
<interceptor-ref name="paramStack"/>
<interceptor-ref name="prepare"/>
<interceptor-ref name="model-driven"/>
<!--Set the params on the loaded object/model-->
<interceptor-ref name="paramStack"/>
<interceptor-ref name="conversionError"/>
<interceptor-ref name="validation"/>
<interceptor-ref name="workflow"/>
<interceptor-ref name="tLRegistryCleanUpInterceptor"/>
</interceptor-stack>
<default-interceptor-ref name="defaultApplicationStack"/>