Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getAttributeScopes() --- is it there???

 
cheenu Dev
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ranchers help me out,
in hfsj one ques had this option to be right.
and even in the errata list this is not mentioned.
getAttributeScope r getAttributeScopes is there a method of these names??
 
Sangita Hota
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's actually getAttributesScope(String name) - u can read as getAttribute'sScope(String name) as this method is used to get the scope of the given attribute.


public abstract int getAttributesScope(String name)Get the scope where a given attribute is defined.

Parameters:
name - the name of the attribute to return the scope for
Returns:
the scope of the object associated with the name specified or 0
Throws:
NullPointerException - if the name is null
 
singh santosh
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
Yes this method is defined in the abstract class
javax.servlet.jsp.JspContext

regards
-santosh
 
cheenu Dev
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic