struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Ruggles <a.rugg...@gmail.com>
Subject Re: Something special about action named "logout"
Date Sat, 15 Nov 2008 08:11:42 GMT

It looks like the action mappings didn't post correctly here is that piece
again.


		&lt;action name="index"&gt;
			&lt;result name="input"&gt;/WEB-INF/pages/index.jsp
			&lt;/result&gt;
			&lt;result name="success"&gt;/WEB-INF/pages/index.jsp
			&lt;/result&gt;
		&lt;/action&gt;
		&lt;action name="login"&gt;
			&lt;interceptor-ref name="defaultSecuredStack" /&gt;
			&lt;result name="success" type="redirectAction"&gt;
				&lt;param name="actionName"&gt;index&lt;/param&gt;
				&lt;param name="namespace"&gt;/&lt;/param&gt;
			&lt;/result&gt;
		&lt;/action&gt;
		&lt;action name="out" class="example.action.LogoutAction"&gt;
			&lt;result name="success" type="redirectAction"&gt;
				&lt;param name="actionName"&gt;index&lt;/param&gt;
				&lt;param name="namespace"&gt;/&lt;/param&gt;
			&lt;/result&gt;
		&lt;/action&gt;
		&lt;action name="logout" class="example.action.LogoutAction"&gt;
			&lt;result name="success" type="redirectAction"&gt;
				&lt;param name="actionName"&gt;index&lt;/param&gt;
				&lt;param name="namespace"&gt;/&lt;/param&gt;
			&lt;/result&gt;
		&lt;/action&gt;
-- 
View this message in context: http://www.nabble.com/Something-special-about-action-named-%22logout%22-tp20513297p20513317.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