Using named anchors with url encoding
I am using url encoding in my jsps and in some of my links I link to a named anchor on a different page. I am having trouble doing this because the only way I can see how to get the anchors to work is to put the named anchor text at the end of the url. When I use
<c:url value="somepage.jsp#anchorname"><c:param name="param1" value="value1"/></c:url>
I get
somepage.jsp#anchorname?param1=value1
and I am unable to read the parameters.
How can I get the anchorname to show up after the parameter values and use <c:url>.

