i have a link like this :http://localhost:8080/ESA/login.jsp?login=failed
in end of above link a set a parameter with name login
and value failed
.
how i can use this parameter in jsp page with struts if tag. I use following code but it don't work.
<s:if test="%{#parameters.login='failed'}">
<div class="error">
<s:text name="user.login.failed"></s:text>
</div>
</s:if>