Struts 1 - How to display ActionMessages
- by Yatendra Goel
I am displaying ActionMessages through a JSP file by the following command:
<logic:messagesPresent message="true">
<ul id="messsages">
<html:messages id="msg" message="true">
<li><bean:write name="msg"/> </li>
</html:messages>
</ul>
</logic:messagesPresent>
Now I want to display only selected messages. How can I indicate which message to display?