This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Modern JavaScript for the Impatient and have Cay Horstmann on-line!
See this thread for details.
Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Tag Files and jsp implicit objects

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

HFSJ mentions - request and response implicit objects are available in tag files because even though it’s a .tag file it is going to end up as a part of a JSP.
if this reasoning is correct then why other JSP implicit objects - pageContext, config, application ect are unavailabe ?? after all its going to be a part of the jsp and will end up in the service method of the container generated servlet.

Thanks
Sameer
 
Sheriff
Posts: 9674
42
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Sameer Raza Ali wrote: why other JSP implicit objects - pageContext, config, application ect are unavailabe ??


the config, application, session and out implicit objects are available in a tag file. Only instead of pageContext, there's jspContext...
 
Sameer Raza Ali
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there should be a correction in the book i guess but then again why is that pageContext is not available after all the underlying servlet will be setting this object
 
    Bookmark Topic Watch Topic
  • New Topic