struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Jacobsen" <jerome.jacob...@gentootech.com>
Subject html:link with Map parameters generating &amp; instead of &
Date Wed, 24 Apr 2002 17:44:24 GMT
Hi,

I've tried this with Struts 1.0.1 and Struts 1.0.2 and both do the same
thing.

  <%
       HashMap summaryLinkParms = ...
       pageContext.setAttribute("summaryLinkParms", summaryLinkParms);
  %>
  <html:link href="index.jsp" name="summaryLinkParms">
  inventory summary
  </html:link>

The above creates a URL in which the parameter seperator is &amp; instead of
&!

<a href="index.jsp?param1=blah&amp;param2=bleh">inventory summary</a>

I want

<a href="index.jsp?param1=blah&param2=bleh">inventory summary</a>

What's up?


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message