tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <h...@gefionsoftware.com>
Subject Re: How to access an element of array without using the iteration tag
Date Wed, 11 Sep 2002 00:01:53 GMT
Vernon Wu wrote:
> I need to access the first element of array using JSTL. After a few of trial and error,
I don't success without using the 
> iteration tag. I don't image that is a difficult one, but just don't know how.
> 
> Thanks for your cue.

Use an EL expression like this: ${myArray[0]}

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com
JavaServer Pages	http://TheJSPBook.com


--
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