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
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 56150
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2691
    
    3

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


Author of ExamLab (Download) - the free mock exam kit for SCJP / OCPJP
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Returning List Object but not able to display value using Spring c:foreach tag
 
Similar Threads
how to set space between item cells in spring mvc form controller
get table values from jsp to servlet
Populating Country Values in combobox using spring form tags
Populating Country Values in combobox using spring form tags
struts: JSP, iterator and display a list as a grid