I got three Radio Buttons:
<input type="radio" name="is_active" value="true">Active
<input type="radio" name="is_active" value="false">Inactive
<input type="radio" name="is_active" value="both" checked>Both<br>
And then some JSP. When I write:
<%=request.getParameter("is_active")%>
I get "both", "true" or "false" in my HTML. But when I write:
<s:if test='%{#request.getParameter("is_active") == ("both")}'>
The output of <%=request.getParameter("is_active")%> is always: true or false or both. One of this three options. The server does not go into the if block even if I choose "Both" radiobutton. What is wrong?