GeeCON Prague 2014*
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


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.
 
GeeCON Prague 2014
 
subject: Not able to pass List values to view