To be able to write correct XHTML &'s in the querystring need to be escaped. To do so, I use the following code:
<c:set var="a" value="A"/> <c:set var="b" value="B"/> <c:url var="theUrl" value="whatever.jsp"> <c:param name="a" value="${a}"/> <c:param name="b" value="${b}"/> </c:url> <a href="<c:out value="${theUrl}" escapeXml="true"/>">Link to whatever</a> This will return a correctly XML / XHTML escaped URL: <a href="whatever.jsp?a=A&b=B">...</a> Would it be possible in a future version of the JSTL to combine these two tags as follows: <c:url value="whatever.jsp" escapeXml="true"> <c:param name="a" value="${a}"/> <c:param name="b" value="${b}"/> </c:url> What do you think? Jeroen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]