A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
spring mvc: how to access a list in the jsp
Joined: Nov 04, 2008
Jun 11, 2012 02:40:30
I have added a arraylist to the model variable. I need to get this list in the view
Could you please help me with this.
Thanks and regards
Joined: Mar 07, 2010
Jun 11, 2012 20:24:09
So what the problem you have not showed us what you have tried so far.
If you used the .addAttribute() method on your model you either supplied it with a name or used the one that spring assigns it by convention. Use that name to use it access it in your JSP.
How To Ask Questions
Read before you PM me
I agree. Here's the link:
subject: spring mvc: how to access a list in the jsp
why we have filters?
how to remove dot from struts 2 action error..
post to servlet
Getting the List size in JSP
turn a Set into a indexed List?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014