| 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
|
posted

0
|
|
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
|
posted

0
|
...
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
|
|
|
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
|
|
|
"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.
|
 |
 |
|
|
subject: Returning List Object but not able to display value using Spring c:foreach tag
|
|
|