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 - !-- Get the current URL -- s:url id=currentUrl includeParams=get/ !--

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 - !-- Get the current URL -- s:url id=currentUrl includeParams=get/ !-- Construct a new url

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 s:property value=#parameters.backLink/ and that was escaping th '' once again I think. Now, I changed that to s:property value=#parameters.backLink escape=false/ and that works. Thanks! - SN Laurie Harper wrote: Srinivas.N.

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

2008-02-11 Thread Jeromy Evans
s:url/ 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