I had tried that, but it still got parsed for the redirect.action and that is the step that misinterpreted the parameters.
----- Original Message -----
From: Volnei
Sent: Friday, February 20, 2004 8:53 AM
Subject: Re: [OS-webwork] Dynamic View Mapping

 
 
Try use  in action a String property called destination.
String destination = yourPage.jsp?param1="+param1+"&param2="+param2+";
(generate get e set to destination)
 
in xwork.xml use:
<result name="success" type="dispatcher">${destination}</result>
 
This works fine!
 
 
Volnei Granado Munhoz
Programador de Sistemas Jr.
Unopar - Coordenadoria de Informática
Visite nosso Portal: www.unopar.br
(43) 3371-7928


----- Original Message -----
Sent: Friday, February 20, 2004 10:29 AM
Subject: Re: [OS-webwork] Dynamic View Mapping

Frank Febbraro wrote:

 > Ok I see what is going wrong.
 >
 > the view result is:
 > redirect.action?url=""> >
 > What is happening is that it interprets redirect.action as having 2
 > parameters
 >
 > 1) url=""> > 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


I think you must HttpEncode the  "?" and "&" (untestet, thow)

redirect.action?url="">
-billy.


--
Meisterbohne   Meisterbohne GbR, Küfner, Mekle, Meier   Tel: +49-731-399 499-0
    eLösungen   Söflinger Straße 100                     Fax: +49-731-399 499-9
                89077 Ulm                           http://www.meisterbohne.de/


-------------------------------------------------------
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Ìk
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to