I have a very simple JSP page in which I want to test for the value of a parameter passed via the query string (x.jsp?section=users). Any time I try to test for a specific parameter value, however, it *always* returns true (regardless of the actual value).
For example, my JSP: <%@ taglib prefix="s" uri="/struts-tags" %> <ul id="topNav"> <li <s:if test="{#parameters.section == 'user'}">class="activelink"</s:if>><s:a href="#">Users</s:a></li> <li <s:if test="{#parameters.section == 'cpuPlayers'}">class="activelink"</s:if>><s:a href="#">CPUPlayers</s:a></li> <li <s:if test="{#parameters.section == 'email'}">class="activelink"</s:if>><s:a href="#">Email Templates</s:a></li> </ul> Every one of those <s:if> tags evaluates to true, regardless of the value of the 'section' parameter passed in the query string. Can someone please tell me what it is I'm doing wrong? If it matters, I'm running on Tomcat 6.0.18. Thanks. -rob --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org