On Mon, 18 Mar 2002, John Baker wrote:

> I'm busy digesting the jstl spec now (found an error in it, it says you can 
> do <c:url=".... and it should be c:url value="... :-), however I'm wondering 
> if I can put an array of objects into a request and use <c:if test=" to test 
> one. Ie:
> 
> Blob[] blobs = new Blob[100];
> // fill blobs
> request.setAttribute("blobs", blobs);
> 
> now can I do:
> 
> <c:if test="${request.blobs[2].whatever ?
> 
> Cheers!

Yes, this should work.

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


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

Reply via email to