Hi,

as I see it the endUserRetailer renders the result. What does it look like in your struts.xml? Please refer here before: http://struts.apache.org/2.x/docs/redirect-action-result.html

regards

mannobug schrieb:
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to