Is there any other way other than using JSTL. As I am trying to use struts
tags only.

Thanks

Antonio Petrelli-3 wrote:
> 
> 2008/5/14 whitesox12 <[EMAIL PROTECTED]>:
>>
>>  Hi,
>>
>>  I have a List that holds only 5 JavaBean Objects. Now I need to show the
>>  data on the JSP but don't want to use the <logic:iterate....
>>
>>  Is there a way to manually get the List element by index and show data
>> on
>>  the page in specific area and then get the next element i.e. List.get(0)
>>  then show the data and then List.get(1) etc. without using
>> logic:iterate.
> 
> You could use EL:
> ${myList[0].myProperty}
> 
> HTH
> Antonio
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-get-elements-from-a-list-without-using-%3Clogic%3Aiterate-tp17231075p17241345.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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

Reply via email to