<% if (request.getAttribute("struts.valueStack") != null) { %> <%-- ActionError Messages - usually set in Actions --%>
" alt="" class="icon" />
<%-- FieldError Messages - usually set by validation rules --%>
" alt="" class="icon" />
<% } %> <%-- Success Messages --%>
" alt="" class="icon" />
<%-- Error Messages (on JSPs, not through Struts --%>
" alt="" class="icon" />