Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tag file attribute scope

 
deepa raj
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"For each attribute declared and specified in a Tag File,
the container creates a page-scoped attribute with the
same name."

can you please explain.

in tag file , attribute having the page scope but in calling page , attribute has the tag scope? it is right??
 
Amit Prakash Singh
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in tag file , attribute having the page scope but in calling page , attribute has the tag scope? it is right??


Very much intutive and very much correct. in the page where tag has been invoked, attribute would be having the tag scope only. And in the tag file itself the attribute would be having the page scope.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!