c:url by default doesn't encode the ampersand.
However, there are options available in the current implementation of JSTL1.1
which allows you to obtain an
ampersand escaped URL.
1) In reference to the code you've mentioned, one option is:
c:out var=link escapeXml=true /
So you'd essentially
Thanks for the tip.
Just out of curiosity, is JSTL supposed to do encoding by default?
Rashmi Rubdi wrote:
c:url by default doesn't encode the ampersand.
However, there are options available in the current implementation of JSTL1.1 which allows you to obtain an
ampersand escaped URL.
1) In