; <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 1:07 AM
Subject: RE: rtexprvalue and EL
> > Or I could have a jsp page that set pageContext variables with the
> constant
> > values. I can include that page in all JSPs where i need constant
values.
> > And then I c
> Or I could have a jsp page that set pageContext variables with the
constant
> values. I can include that page in all JSPs where i need constant values.
> And then I could use those pageContext variables in EL tags.
If they're constants, why not put them up as far as possible, in application
scop
If these are constants in your application, you want to load this information ONCE,
into your application context. You would do this in a servlet's init() method, which
is set to "load-on-startup", or you could add a ServletContextListener for the
application to do the same thing.
> -Origi
>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 11:18 AM
Subject: Re: rtexprvalue and EL
> >>>>> "Affan" == Affan Qureshi <[EMAIL PROTECTED]> writes:
>
> Affan> I want to do a test like this:
> Affan>
> Affan>
> "Affan" == Affan Qureshi <[EMAIL PROTECTED]> writes:
Affan> I want to do a test like this:
Affan>
Affan>
Affan>
Affan> I am comparing a value against a constant in a class but I can't execute a
Affan> RT expression in a when using the EL tags. How do I accomp