• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Returning List Object but not able to display value using Spring c:foreach tag

 
Mike Keane
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am returing List to jsp but not able to display values..here is my code:

In Controller i set:


In Jsp I did :


But it displaying values like :${buildingBean.buildingName}.....

Please help me out

Thanks
varun
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you're not configured to use EL--check out the JSP FAQ.
 
Mike Keane
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David

What EL?..
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...

The JSP Expression Language (EL). It's what you're using when you use expressions like ${buildingBean.buildingName}.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you don't even know what things are called it may be time to step back for a bit and go through some modern tutorials or grab a book on modern JSP.
 
Mike Keane
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its not an issue of EL i have used right EL but some other problem
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4599
303
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"abcxyz bac", please check your private messages regarding an important administrative matter.
 
Hongli Li
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike Keane wrote:its not an issue of EL i have used right EL but some other problem

if it's not an issue of EL then why ${buildingBean.buildingName} is not being translated?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic