Sorry it didn't work for you and sorry I didn't include all the details such as the algorithm used in the example. The idea is the same though.
- Get the path from the existing ActionForward - Manually append query string parameters to the path - Create a new ActionForward with the modified path - Return the new ActionForward My example was simple so as to illustrate the basic goal. I'm glad you found something that works. robert > -----Original Message----- > From: John Menke [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 11, 2003 5:46 PM > To: Struts Users Mailing List > Subject: RE: Add paramaters to a forward dynamically > > > Robert, > > thanks for your suggestion. I could not get it to work properly. > Something > with urls not being processed correctly, I'm using tiles...(not > sure if that > is explanation though) > > What I did get to work was what is suggested in this: > > http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14224.html > > > -jm > > > > > > > > > > -----Original Message----- > > From: Robert Taylor [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, January 11, 2003 3:28 PM > > To: Struts Users Mailing List; [EMAIL PROTECTED] > > Subject: RE: Add paramaters to a forward dynamically > > > > > > int id = // get user id > > String path = forward.getPath(); > > path = path + "?ID=" + id; > > return new ActionForward(path); > > > > hth, > > > > robert > > > > > -----Original Message----- > > > From: John Menke [mailto:[EMAIL PROTECTED]] > > > Sent: Saturday, January 11, 2003 2:57 PM > > > To: struts-user > > > Subject: Add paramaters to a forward dynamically > > > > > > > > > I have a global forward: > > > > > > <forward name="DynamicForward" path="do/myModule" redirect="true"/> > > > > > > I really want the user to forward to "do/myModule?ID=115" > > > > > > the actual value of ID in this case would be determined in the > > > Action class > > > that calls the findForward("DynamicForward") method. > > > > > > is there any way of returning a forward with parameters from > an Action? > > > > > > -jm > > > > > > > > > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>