What about adding the encoded value for the '&' character? Using something like <url>?value=test%26best should give you test&best....
cheers p -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Frank Febbraro Gesendet: Donnerstag, 19. Februar 2004 17:50 An: [EMAIL PROTECTED] Betreff: Re: [OS-webwork] Dynamic View Mapping Ok I see what is going wrong. the view result is: redirect.action?url=somthing?param1=value1¶m2=value2 What is happening is that it interprets redirect.action as having 2 parameters 1) url=somthing?param1=value1 2) param2=value2 not sure how to fix it yet...any ideas... The only workaround I can see now is to handle the redirect by hand in the action instead of usign a view mapping ----- Original Message ----- From: "Frank Febbraro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 11:04 AM Subject: Re: [OS-webwork] Dynamic View Mapping > If you use & it causes a parsing exception in the actions.xml file. > > I also determined that it has nothing to do with dynamic mappings, even if > both parameters are hardcoded the second one still gets left off. > > Will do some investiagtion, and possibly hack a workaround if I can't find > the bug. > > Stay tuned... > > ----- Original Message ----- > From: "Hani Suleiman" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, February 19, 2004 10:45 AM > Subject: Re: [OS-webwork] Dynamic View Mapping > > > Did you try just using & instead of &? > > If that doesn't work, then file a bug (I vaguely remember having > problems with this previously too) > > On Feb 19, 2004, at 10:25 AM, Frank Febbraro wrote: > > > Using WW 1.4 > > > > I am trying to setup a dynamic view mapping as specified here: (this > > redirects to a section of the app that is legacy) > > > > <action .....> > > <command name="selectLicensingYear" > > alias="deal!selectLicensingYear" > > > <view > > name="success">redirect.action?url=controller?command=viewDeal& > > dealID=${dealID}</view> > > </command> > > </action> > > > > My action has getDealID() and that all works fine.... > > > > However the redirect gets sent as: > > http://host/context/controller?command=viewDeal > > > > As you can see the second parameter is left off. Has anyone > > enountered this? I tried switching the parameter ordering and the > > second parameter is always left off. > > > > Any thoughts? > > > > Thanks, > > Frank > > > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op=ick > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork