struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hardik_982 <>
Subject About Login Interceptor
Date Thu, 28 Feb 2008 08:02:49 GMT

i have develop one little  application using struts 2.0.11 mailreader
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"/>

now i have also add
in struts.xml

<action name="portfol_main" >
	<interceptor-ref name="user"/>

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
how i can set after login directly goes to portfolmain.jsp

please help
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message