Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL not parsing the values

 
chintu reddy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have this code in my jsp page and sectionList value is obtained from Spring modelmap attribute..



but on the output I only see ${section.desription}.. While debugging I saw that sectionList has about 10 values... and it's not that jsp is not parsing JSTL correctly because I have other part on the page like ${param.title} and its working fine..
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most likely your web app is misconfigured. Check the JspFaq and make sure that your deployment descriptor uses the correct header.
 
chintu reddy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Bear.. I checked servlet version from my webapp and these are the results..



As you have guessed correctly, my web.xml was using version 2.3 and now I changed the header to use correct version.. its workingfine now.. thanks a lot!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
 
Paul Clapham
Sheriff
Pie
Posts: 20764
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
diego flores gonzales,
Your post was moved to a new topic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic