This may work : <c:if test="${requestScope['org.apache.struts.action.ERROR']}">

But you have to know the scope where is stored the ActionMessages bean.

Struts-logic-el has some value-added over JSTL, as it can be used for struts-related logic (like errors/messages), so why not using them ? Logic tags having an equivalent JSTL tag are not declared in struts-el TLD.

Nico.


Yaroslav Novytskyy a écrit :

Hi!

Does anybody know how to write this
<logic:present name="org.apache.struts.action.ERROR">
in JSTL Expression Language?
(<c:if test="${org.apache.struts.action.ERROR}"> does not work)
I'd like to get rid of old "struts-logic" in my project and leave only jstl's tags and "html-el".


Yaroslav Novytskyy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to