struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hns <>
Subject Re: about current action name acsess
Date Fri, 29 Feb 2008 05:59:02 GMT

i have one interceptor(reference of mailreader example of 2.0.11 ) for check
in session about username
if person click on some authorized link like portfolio they should directly
to login action 
i have achieved this thing using interceptor

now my problem is that
when person submit his username and password ,he directly goes to the
mainmenu action 
because i have set in struts.xml
<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 name="portfol_main"  >
	<interceptor-ref name="user"/>
but i want to grab them directly to portfol_main action 
how  can i achieve it?

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