Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.11.2, 2.1.2
-
None
-
Tomcat 6.0.16 on Windows Vista
Description
Suppose you have this:
<s:url var="showEmployee" action="ShowEmployee" anchor="%
{employee.lastName}"><s:param name="id" value="employee.id"/>
</s:url>
Struts2 generates:
ShowEmployee.action?id=1234#%{employee.lastName}
The OGNL expression in the anchor attribute is rendered literally.