|
I'm trying to pass two value that retrive from
cookie to a action class. Here is snipplet.
<logic:present
cookie="a">
<bean:cookie id="c1" name="a"/> <% value = c1.getValue(); %>
<logic:present cookie="b">
<bean:cookie id="c2" name="b"/> <% String link = new StringBuffer() .append("action.do?valueA=") .append(c1.getValue()) .append("&valueB=") .append(c2.getValue()) .toString(); %> <logic:redirect href="<%=link%>"/> </logic:present> </logic:present> when i try to print out the quesy string in action
class, it come out something like this
Query string is
valueA=aaa&valueB=bbbb
How come the 'amp;' is append after the '&'
?
FYI, i'm using the struts beta version now
and these code work for me before i switch to beta
version.
TIA
kiatkin
|
- Re: problem with using redirect tag kiatkin
- Re: problem with using redirect tag Incze Lajos
- Re: problem with using redirect tag kiatkin
- Re: problem with using redirect tag Craig R. McClanahan

