Hi all in my struts.xml i have an action description that have to redirect
after a success.
Success string is set in save method; the problem is that after saving i
remain in the same page and redirection is not working.
This is my struts.xml:
....
<action name="saveEndUserRetailer"
class="it.retelit.webapp.action.EndUserRetailerAction" method="save">
<result
name="success">/WEB-INF/pages/confirmRetailerRequest.jsp</result>
<result
name="input">/WEB-INF/pages/endUserRetailerForm.jsp</result>
<result name="cancel"
type="redirect-action">endUserRetailer</result>
<result name="delete"
type="redirect-action">endUserRetailer</result>
</action>
...
and this is the jsp page:
<%@ include file="/common/taglibs.jsp"%>
<page:applyDecorator name="default">
<head>
<title><fmt:message key="retailerRequestConfirm.title"/></title>
<meta name="heading" content="<fmt:message
key='retailerRequestConfirm.heading'/>"/>
</head>
<p>
<fmt:message key="retailerRequestConfirm.message">
<fmt:param><c:url value="/mainMenu.html"/></fmt:param>
</fmt:message>
</p>
</page:applyDecorator>
Where is the problem? maybe i don't understand very well struts redirection
:-S
hx all :-D
Ema
--
View this message in context:
http://www.nabble.com/Struts2-redirect-problem-tp19458391s2369p19458391.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]