Sami Dalouche wrote:
Hi,

When creating a URL using the Struts2 <s:url id="" /> JSP tag, and then,
later in the page, reusing the url #id in some OGNL parameter, it seems
the "&" characters in the URL are encoded as &amp;

Is this supposed to be a feature or a bug ?

It's expected behaviour.

Is it possible to disable this behaviour somehow ?

Depends how you're using the URL. Are you sure you even *want* to disable the behaviour? Encoding ampersands is generally the right thing to do.

L.

ObWhine: please don't post unrelated questions to an existing thread. Be sure to start a new thread (with an appropriate subject) by sending a fresh message to the list, rather than using Reply To.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to