tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject Re: My last annoying question of the day, promise.:-)
Date Tue, 19 Mar 2002 14:47:31 GMT
On Tue, 19 Mar 2002, John Baker wrote:

> Bah. So how can this be done in JSTL? It's a real shame because that
> would be very nice. I'm trying to avoid writing Java ;-) Does this
> mean I have to use the -rt stuff and do:
> 
> <c-rt:if test="${ <$=request.getParameter("moo").equals("cows") %> }"

No.  Like I said, you can use an expression starting with 'param':

  ${param.moo == 'cows'}

I don't mind answering all your questions, but you might want to take an
hour and read through the entire JSTL draft spec!  I think it'll answer a
lot of your questions.   :-)

-- 
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this summer from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message