I'm attempting to re-create the EL example in HFSJ, pg. 368. I've had success with all examples in the chapter up til now, but can't figure out why my EL is not working .
The
servlet code works in retreiving the dog's name, but the EL doesn't work.
Here's my
JSP:
<html><body>
<%= ((net.chippost.Person) request.getAttribute("person")).getDog().getName() %>
Dog's name is: ${person.dog.name}
</html></body>
and here's my output:
barney Dog's name is: ${person.dog.name}
As you can see, the servlet code works, but the EL statement is not executed.
Anyone else have this issue, or any ideas?
Thanks in advance... chip
"I am not young enough to know everything."
- Oscar Wilde