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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]