Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DynamicAttributes interface

 
Rishi M
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Are the questions like the one below on DynamicAttributes interface there in the exam syllabus ?


Which of the following statements are correct for a custom tag that can take any number of arbitrary attributes?



Select 2 correct options

a The body-content element for the tag in the TLD file must have a value of JSP.


b The tag handler must implement the method setAttribute(String key, String value).


c The tag element in the TLD file for the tag must have <dynamic-attributes>true</dynamic-attributes>.


d The class implementing the tag must implement javax.servlet.jsp.tagext.DynamicAttributes interface.


e Dynamic attributes cannot have request time expression values.



f A JSP page sets a dynamic attribute using <jsp:setDynamicAttribute> action.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dynamic Attributes are part of the exam.
Have a look at this tutorial.
 
Ramya Iyer
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Santou. Even I was looking out for this information.
 
Rishi M
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Rishi google", we don't have many rules around here but our naming policy is one of them. Not complying with the policy will lead to your account becoming locked. This warning hopefully will prevent that from happening, but some action is required on your part.

Please review the policy here and you can change your Publicly Displayed Name here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic