You need to import the class. 

Danilo Gurovich
Manager, Web Development
LowerMyBills.com
[EMAIL PROTECTED]
2401 Colorado Ave., 2nd Floor 
Santa Monica, CA 90404
(310) 998-6412

 


-----Original Message-----
From: Lesaint Sébastien [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 28, 2004 9:48 AM
To: '[EMAIL PROTECTED]'
Subject: public static properties in JSPs

Hello all!

First message ever on a mailing list, would you believe it? :)

Anybody knows how to access a public static (final btw) variable of a bean
inside a JSP ? preferably using struts tags or EL ?

<c:if test="${__DeskMenuConfigBean__.menuMode == 1}">
 [...any HTML code...]
</c:if>

Exactly, I'd like to replace to "1" in the <c:if>'s test by something like
"__DeskMenuConfigBean__.CONTRACT_MODE"

Thanks

-- 
Seb'


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

Reply via email to