<struts> <package name="packet" extends="struts-default" namespace="/"> <interceptors> <interceptor name="login" class="com.action.generic.logininterceptor"/> </interceptors> <default-interceptor-ref name="login"/> <global-results> <result name="error">/login.jsp</result> </global-results> <action name="showData" class="com.action.device.ManagePacketsAction" method="show30MData"> <result>/data.jsp</result> </action>
I am have default interceptor named login. i am chking session validation (like is user loggin r not ). it seems work but after running interceptor it backs to actionclass, here i am chking requset parameters at that am geeting for all parameters. Without interceptor everything working fine. On Tue, May 12, 2009 at 4:27 PM, Nils-Helge Garli Hegvik <nil...@gmail.com>wrote: > It would certainly be a lot easier to help if you could show your > configuration and code... > > Nils-H > > On Tue, May 12, 2009 at 12:54 PM, Murugesh <muruges...@gmail.com> wrote: > > I am doing task on struts2. In that I have to use custom > > AutherizationInterceptor. In my custom Interceptor Im checking weather > user > > is in session or not. And if he tries to attempt login I gave parameter > in > > struts.xml as true So Im checking against it and interceptor redirects > > action to Home. But my problem is unable to get the request parameters in > > Any Action class if Session exist too. > > > > please help on this issue. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >