• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

pageContext!!!!

 
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When i browse thru some of the tag class... I found that the pageContext is avaliable for use WITHOUT declaration (something like "PageContext pageContext = JspFactory.getPageContext())... is it a implicit object for Tag Class???

please give me some help!
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's an Instance variable defined and created in the super class TagSupport. Since you extend TagSupport (or BodyTagSupport), you inherit this instance variable. It is of type PageContext. Check the JavaDocs (You can find them easily through the Links Page) For these classes.
------------------
I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
reply
    Bookmark Topic Watch Topic
  • New Topic