Re: Not escaping '&' when passing urls as http params

2008-02-11 Thread Jeromy Evans
has an attribute called escapeAmp (default = true) that may assist you. http://struts.apache.org/2.0.11/docs/url.html Srinivas.N. wrote: When I pass URLs as parameters, is there a way to not html escape the '&' characters? Example: Lets say I have a JSP where I want to pass a URL as a para

Re: Not escaping '&' when passing urls as http params

2008-02-11 Thread Srinivas.N.
You are right. In my JSP for newUrl in my example, I was using and that was escaping th '&' once again I think. Now, I changed that to and that works. Thanks! - SN Laurie Harper wrote: > > Srinivas.N. wrote: >> When I pass URLs as parameters, is there a way to not html escape the '&' >> cha

Re: Not escaping '&' when passing urls as http params

2008-02-11 Thread Laurie Harper
Srinivas.N. wrote: When I pass URLs as parameters, is there a way to not html escape the '&' characters? Example: Lets say I have a JSP where I want to pass a URL as a param within another URL. Example: Some JSP - Lets say current URL is something like http://mydomain/action1

Not escaping '&' when passing urls as http params

2008-02-11 Thread Srinivas.N.
When I pass URLs as parameters, is there a way to not html escape the '&' characters? Example: Lets say I have a JSP where I want to pass a URL as a param within another URL. Example: Some JSP - Lets say current URL is something like http://mydomain/action1?p1=1&p2=2 The prob