You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Beejal <be...@patni.com> on 2008/03/15 13:47:43 UTC

Problem iterating an arraylist in jsp

Hi All,

 

I have an ArrayList of elements in my action class.

I want to iterate through that arraylist in my jsp.

My JSP directly invokes the method of the action class without going through
any form bean.

How can I get the ArrayList in the jsp and iterate through that list to show
the elements in a list?

 

 

Regards,

Beejal


http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail. 
_____________________________________________________________________

Re: Problem iterating an arraylist in jsp

Posted by Mark Shifman <ma...@yale.edu>.
JSTL
Beejal wrote:
> Hi All,
>
>  
>
> I have an ArrayList of elements in my action class.
>
> I want to iterate through that arraylist in my jsp.
>
> My JSP directly invokes the method of the action class without going through
> any form bean.
>
> How can I get the ArrayList in the jsp and iterate through that list to show
> the elements in a list?
>
>  
>
>  
>
> Regards,
>
> Beejal
>
>
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _____________________________________________________________________
>
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete  this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin@patni.com and delete this mail. 
> _____________________________________________________________________
>
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: Problem iterating an arraylist in jsp

Posted by beryto delrio <ku...@gmail.com>.
<c:forEach>

On Sat, Mar 15, 2008 at 8:47 PM, Beejal <be...@patni.com> wrote:

> Hi All,
>
>
>
> I have an ArrayList of elements in my action class.
>
> I want to iterate through that arraylist in my jsp.
>
> My JSP directly invokes the method of the action class without going
> through
> any form bean.
>
> How can I get the ArrayList in the jsp and iterate through that list to
> show
> the elements in a list?
>
>
>
>
>
> Regards,
>
> Beejal
>
>
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _____________________________________________________________________
>
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete  this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin@patni.com and delete this mail.
> _____________________________________________________________________
>