File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Head First Android this week in the Android forum!
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: 63047

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

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

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

It is sorta covered in the JavaRanch Style Guide.
subject: EL doesn't work
It's not a secret anymore!