Is there an equivalent in JSTL for the logic :messagesPresent ?  I've looked on 
Google, but I can't find a decent example.  Someone suggested <c:if test="${! 
Empty requestScope['org.apache.struts.action.ERROR'}"> but that doesn't work.  
I also need to test if a certain property is added, so I can put certain labels 
in red (read, add a css-class to a span if a specific property is added. E.g. 
<span<logic:messagesPresent property="txtUserName"> 
class="errorMsg"</logic:messagesPresent>>Username:</span>)

Tia

Bjorn 

 



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

Reply via email to