• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in implicit EL objects - HFSJ 2nd Edition

 
MalanS Subramanian
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
In HFJS 2nd edition @ pg 383 there is a smaple JSP code given



In the description it is given that currentTip is a request scoped attribute. My doubt is that, Is there any implicit object in EL by the name 'pageContent'?

Regards,
Malan
 
Vijitha Kumara
Bartender
Pie
Posts: 3930
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If (as you are saying) currentTip is a request scoped attribute then it should be accessed via ,

either ${requestScope.currentTip.something} or ${currentTip.something}.

 
MalanS Subramanian
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
true.. But am not sure whether the code snippet is an errata from HFJS team or it is indeed a valid one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic