• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple tags- JSPContextAttributes Scope

 
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
Pie
Posts: 2533
113
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic