This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL doesn't work

 
Vierda Mila
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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

Dog.java


DogOwner.java


DogServlet.java


DogLover.jsp


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 ${owner.name}

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

regards,
-Vierda Mila-
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64851
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is always a result of a mis-configuration issue. See the JSP FAQ for details.
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check This link
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic