aspose file tools*
The moose likes Spring and the fly likes Returning List Object but not able to display value using Spring c:foreach tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Returning List Object but not able to display value using Spring c:foreach tag" Watch "Returning List Object but not able to display value using Spring c:foreach tag" New topic
Author

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

Mike Keane
Greenhorn

Joined: May 05, 2010
Posts: 3
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

Joined: Sep 29, 2008
Posts: 12617

Sounds like you're not configured to use EL--check out the JSP FAQ.
Mike Keane
Greenhorn

Joined: May 05, 2010
Posts: 3
Hi David

What EL?..
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

...

The JSP Expression Language (EL). It's what you're using when you use expressions like ${buildingBean.buildingName}.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60048
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mike Keane
Greenhorn

Joined: May 05, 2010
Posts: 3
its not an issue of EL i have used right EL but some other problem
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2885
    
  13

"abcxyz bac", please check your private messages regarding an important administrative matter.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
My Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
Hongli Li
Ranch Hand

Joined: Oct 29, 2006
Posts: 124
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?


Do you know why this cup is useful? Because it is empty.
 
wood burning stoves
 
subject: Returning List Object but not able to display value using Spring c:foreach tag
 
Similar Threads
Populating Country Values in combobox using spring form tags
Populating Country Values in combobox using spring form tags
how to set space between item cells in spring mvc form controller
get table values from jsp to servlet
struts: JSP, iterator and display a list as a grid