File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
turn a Set into a indexed List?
Getting the List size in JSP
post to servlet
how to remove dot from struts 2 action error..
why we have filters?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014