There are multiple classes that build a collection which is presented on only one jsp. For simplicity, I'll refer to constants in the classes and literals on the one jsp. Then if the constants change, I only have to change them in the interface and jsp.
Thanks. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 7:31 PM To: [EMAIL PROTECTED] Subject: Re: Logic Equals and Interface Constants >>>>> "Sean" == Sean Cohan <Cohan> writes: Sean> I'd like to somehow use some final static int's defined in an interface Sean> within <logic:equal> tags. Something like: Sean> <logic:equal name="columnType" value=DeltaItem.LONGTEXT> Sean> Can I do this or something like it (e.g., using chars instead of int's)? You'll have to use expression scriptlets for the attribute value. In those expressions, you can produce any Java expression you want. If you want/need to avoid scriptlets, then you'd have to use a more involved process, using Struts-EL, along with a class that uses reflection to load "static final" constants into a HashMap which can be referenced through the EL. -- =================================================================== David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP; SCWCD -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

