Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSP and the fly likes EL doesn't work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "EL doesn Watch "EL doesn New topic

EL doesn't work

Vierda Mila
Ranch Hand

Joined: Feb 25, 2008
Posts: 61
Hi all,

I'm learning about EL and trying some code, the code as per below :


all above code compile perfectly but when I run DogServlet, it turn to DogLover.jsp and gives result as per below:

Dog's name is Spike

Dog owner's name is ${}

why the EL doesn't work here, I mean why it doesn't replace name of owner?? thank you for any explanation.

-Vierda Mila-

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63837

This is always a result of a mis-configuration issue. See the JSP FAQ for details.

[Asking smart questions] [About Bear] [Books by Bear]
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
check This link

I agree. Here's the link:
subject: EL doesn't work
It's not a secret anymore!