You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Liam Brady <ry...@gmail.com> on 2007/02/08 09:00:45 UTC

How to configure Struts taglib

I have a strange problem. I am using Struts taglib version 1.3.5, but I
notice for LinkTag, FormTag, ReWriteTag the parameters in the querystring
are being appended with the ampersand unencoded - this is leading to a
validation error for HTML 4.01

for example : I have href"test.jsp?param1=3&param2=4"

Instead I believe it should be href"test.jsp?param1=3&amp;param2=4"

Can somebody tell me if this is correct behaviour? in the taglib
documentation there does not seem to be any parameter for encoding, I can
over-ride default Struts-behaviour if needed but need to confirm first that
this is the only solution.