I was having similar issues recently using an older version of struts2 (can't remember which unfortunately) and I upgraded to 2.2.3 which seems to work fine..

fyi the first example I have is below where selectedUserId is set on the action I redirect to with the value from user.getId passed as the value so the url ends up as /listUsers?selectedUserId=69


        <action name="updateUser" class="usermanagement.updateUserAction" 
method="update">

             <result name="success" type="redirectAction">

                <param name="actionName">listUsers</param>

                <param name="selectedUserId">${user.id}</param>

            </result>

        </action>


This is the same as yours pretty much.. I presume you've double checked that there is a value set for yourForm when you then do the redirect?

Perhaps it's worth debugging through the code or trying it out with a newer struts version?



On 13/05/2011 18:05, tdmcgin...@gmail.com wrote:
Eric,

I have never used pastebin before but I created my project files out there and here is the link:

http://pastebin.com/u/tdmcginley

The problem is getting from startInformation.jsp begin button to questions with the formid.

In event I list the URL's that I start with and what they look like.

I appreciate any assistance I can get to get this working.

Teresa

On May 13, 2011 8:12am, Eric Lentz <eric.le...@sherwin.com> wrote:
> I'll take any suggestions to get this working.



Your code snippet lacks important details that would help me answer your

question. Use pastebin or a like service and include a minimal running

example and then perhaps I can help.





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to