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/
!--
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
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.
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
4 matches
Mail list logo