Hi,

I have one problem with redirection. In my .jsp page which is backed by
MyFirstAction class I have following link:

// here is iterator
<s:url id="editUrl" action="change">
        <s:param name="id" value="id" />
</s:url>
<s:a id="c_%{id}" href="%{editUrl}">Change</s:a>

and this "change" action is defined for another action class in struts.xml,
like this:

<action name="change" class="MySecondAction">
                <!-- Redirect to another namespace -->
                <result type="redirect-action">
                    showChanges
                    /second
                </result>
</action>

But, when user click on "Change" link "id" property is not set to "id" field
of MySecondAction.
I checked "id" is populated in my .jsp page, because with some other actions
in MyFirstAction it works, also "id" field (with get/set methods) exiss in
MySecondAction. 

What is the problem ? 

--
Thx in advance, Milan
-- 
View this message in context: 
http://www.nabble.com/-s2--Problem-with-redirection-tp18220420p18220420.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]

Reply via email to