struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hns <hardik_...@yahoo.com>
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
because
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>



<action name="portfol_main"  >
	<interceptor-ref name="user"/>
	<result>portfolmain.jsp</result>
	</action>
------------------------------------
but i want to grab them directly to portfol_main action 
how  can i achieve it?


-- 
View this message in context: http://www.nabble.com/about-current-action-name-acsess-tp15736383p15752667.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


Mime
View raw message