• Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple tags- JSPContextAttributes Scope  RSS feed

 
James Winfrey
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys

I am a bit confused with simple tags.

I use JSPContext to set an attribute in the doTag method of Tag Handler class?

What is the scope of this attribute? Is it Tag-Scoped?

Thanks
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Posts: 3015
236
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
James,

The PageContext extends the JspContext, so the attributes are in the pageScope unless you provide the scope parameter. Check the API
Regards,
Frits
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!