You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by hardik_982 <ha...@yahoo.com> on 2008/02/28 09:02:49 UTC

About Login Interceptor

hi
i have develop one little  application using struts 2.0.11 mailreader
example
in struts.xml
i have define

<action name="Login_*"  method="{1}" class="authentic.Login">
            <result name="input">/Login.jsp</result>
            <result name="cancel" type="redirect-action">Welcome</result>
            <result type="redirect-action">MainMenu</result>
            <interceptor-ref name="guest"/>
        </action>


now i have also add
in struts.xml

<action name="portfol_main" >
	<interceptor-ref name="user"/>
	<result>portfolmain.jsp</result>
	</action>

so when i click on my link it executes action portfol_main and shows login
page if i have not logged in already
but when after sucessfully it can not show me portfolmain.jsp it shows me
mainmenu.jsp
how i can set after login directly goes to portfolmain.jsp

please help
-- 
View this message in context: http://www.nabble.com/About-Login-Interceptor-tp15731309p15731309.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org