"EL" are the JSTL expression language tags that you're
using.
"RT" are the JSTL runtime tags that can be used with
scripting expressions (<%= ... %>).
Perhaps you want to be using the RT tags.
If you've downloaded the JSTL library from Jakarta,
you've already got both the EL and RT tag libraries.
They come as a set.
Shawn Bayern's "JSTL In Action" book explains all this
very nicely.
--- Charl Gerber <[EMAIL PROTECTED]> wrote:
> What is "rt" and "EL" tags?
>
> Any alternative suggestion would be appreciated.
>
>
> >-- Oorspronkelijk bericht --
> >Reply-To: "Tag Libraries Users List"
> <[EMAIL PROTECTED]>
> >Date: Mon, 21 Jul 2003 05:48:39 -0700 (PDT)
> >From: Michael Duffy <[EMAIL PROTECTED]>
> >Subject: Re: JSTL question: how to use variables in
> <c:if> and <c:set>
> >To: Tag Libraries Users List
> <[EMAIL PROTECTED]>
> >
> >
> >
> I think the syntax should be "${row.ID == i}".
>
> I'm not sure that "i" can be an int in this case.
> Must it be an Integer? After all, that's what a
> ResultSet will return.
>
> Also, does this require the "rt" tags? I've always
> stuck with the EL s
> >uff, so I'm not sure.
>
> --- Sandeep Takhar <[EMAIL PROTECTED]> wrote:
> > might be
> > ${row.ID} == ${i}
> >
> > but I don't know much about syntax.
> >
> > Since it is a page scripting variable then you
> > should
> > be able to use it on the same
> >sp...
> >
> > sandeep
> > --- Charl Gerber <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I have a question. How can I use variables
> > declared
> > > in other pieces of java
> > > code withing my JSP within a <c:if> piece of
> code?
> > >
> > > example:
> >
> >>
> > > <%
> > > int i = 5;
> > > * now to a sql call with sql tags and get some
> > > results *
> > > <c:if test="${row.ID == i}">
> > > etc.
> > > %>
> > >
> > > I cannot get that row.ID == i to work. Also
> tried
> > > <%= i %>, but that causes
> > >
> >casting exceptions.
> > >
> > > Alternatively, how can I make SQL results
> > available
> > > to other pieces of Java.
> > > At the moment I do a <c:set> and then the other
> > code
> > > gets the variable from
> > > the scope it was set to, but it seems a bi
> >
> > > tedious... is there a shorter
> > > way?
> > >
> > > Thanks!
> > >
> > > Charl
> > >
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
>
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> >
> >
> -------------------------
> >-------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
>
>
> __________________________________
> Do you Yahoo!
> >
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail: taglibs-
> >[EMAIL PROTECTED]
>
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]