File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Not able to pass List values to view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Not able to pass List values to view" Watch "Not able to pass List values to view" New topic
Author

Not able to pass List values to view

vikas sharmaa
Ranch Hand

Joined: Jun 28, 2007
Posts: 191
i am using Spring 3.0 and not able to pass List to the view. Please look into my code below:

controller class:



Here i am creating a simple myList List with 2 Objects of User class.

and, here below is the code in jsp page:



but, i am getting a blank myList. On view source, the following html is generated:



please tell, where i am going wrong? thank you.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If that's the source then it's not even evaluating the JSTL.
vikas sharmaa
Ranch Hand

Joined: Jun 28, 2007
Posts: 191
thank you newton. i was mistakenly using functions instead of core jstl taglib.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to pass List values to view
 
Similar Threads
NumberFormatException on using form:radiobuttons
Acess list elements on foreach JSTL tag
JSTL printing issue
One of My Favorite Stripes Features (A Complex Example)
passing a parameter to an action class