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

Where is the data in my collection?

 
Jehan Jaleel
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am using Spring MVC. In my controller servlet that extends SimpleFormController I have the following code in my referenceData method...



Now in my JSP I am trying to get this collection with the following...



But when I run this JSP the data is not showing. It is printing the literal values in my JSTL tags like "${infile.inputFileId}" Anyone have any idea why this could be? I am sure the controller put the data in the collection but for some reason it is not appearing in the JSP.

Thanks in advance for any help

[ November 24, 2008: Message edited by: Jehan Jaleel ]
[ November 24, 2008: Message edited by: Jehan Jaleel ]
 
Jehan Jaleel
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I figured this one out. I had to add "<%@ page isELIgnored="false"%>" to the JSP and then it works.

I don't know why they turn it off by default.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic