my Struts version is 2.0.6 @Greg...I tried what you suggested..it works but not quite.
"redirect:MyAction.action?param1=value1¶m2=value2" turns into the following url MyAction.action?PageSize=50&pageIndex=3.action problem is that it adds '.action' to the end... On Mon, Jun 22, 2009 at 10:04 AM, Martin Gainty <mgai...@hotmail.com> wrote: > > attempt to decipher which version of struts the Op is using? > > thx, > Martin > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient lediglich dem Austausch von Informationen und entfaltet keine > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le > destinataire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie > de ceci est interdite. Ce message sert à l'information seulement et n'aura > pas n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > > Date: Mon, 22 Jun 2009 09:42:58 -0400 > > Subject: Re: redirect action in s:submit > > From: greg.lindh...@gmail.com > > To: user@struts.apache.org > > > > On Mon, Jun 22, 2009 at 1:19 AM, dusty <dustin_pea...@yahoo.com> wrote: > > > > > > > > That works? What processes that redirect-action:PHAInformation > parameter? > > > Struts sees that and just redirects? If I knew how that worked then I > > > could > > > figure out how to add parameters. > > > > > > > > Yes it works and it's part of the DefaultActionMapper. I don't think you > > will be able to add parameters using the "redirect-action:" prefix. I > > haven't try it but you should be able to use the "redirect:" prefix and > > construct the url with parameters like this > > "redirect:MyAction.action?param1=value1¶m2=value2". > > _________________________________________________________________ > Hotmail® has ever-growing storage! Don’t worry about storage limits. > > http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009 >