Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to pass List values to view

 
vikas sharmaa
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If that's the source then it's not even evaluating the JSTL.
 
vikas sharmaa
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you newton. i was mistakenly using functions instead of core jstl taglib.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic