Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding 'tag attributes'  RSS feed

 
Amol Lekurwale
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the Sierra book about SCWCD, it is given that tag attributes are sent as attributes in tag scope.
however in the exercise {coffee cram} it is given 'true' for the statement : For each tag attribute, container creates a Page scope attribute with the same name for the same.
Please clarify.
 
Dee Brown
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"container creates a Page scope attribute"

This is referring to the (for example) foo.tag page, not the JSP that is using the tag. In the JSP the attribute has tag scope.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!