Page 1 of 1

About Question enthuware.jwpv6.2.616 :

Posted: Tue Jul 19, 2011 3:13 pm
by ETS User
"For a tag to take any number of arguments, it must implement javax.servlet.jsp.tagext.DynamicAttributes interface."
Not true, it could also have setters and getters for all attributes. Change "must" to "can" and it would be better.

Re: About Question enthuware.jwpv6.2.616 :

Posted: Wed Jul 20, 2011 5:02 am
by admin
Well, if you implement setters and getters for all the attributes that means you would have to know all the attributes before hand while developing the tag. It wouldn't be a tag that can take any number of arguments in that case. Therefore, implementing javax.servlet.jsp.tagext.DynamicAttributes is the only way.

HTH,
Paul.

Re: About Question enthuware.jwpv6.2.616 :

Posted: Mon Jan 02, 2012 1:29 am
by dimliakop
I am now pursuing exam 1z0-899 (J2EE 6 Web Components).
Is it possible that this question or a related topic ("building custom tags") appears on the real exam?

Re: About Question enthuware.jwpv6.2.616 :

Posted: Mon Jan 02, 2012 7:21 am
by admin
dimliakop wrote:I am now pursuing exam 1z0-899 (J2EE 6 Web Components).
Is it possible that this question or a related topic ("building custom tags") appears on the real exam?
Some candidates have reported getting a couple of questions on building custom tags that is why we have kept these questions.

If you are hard pressed for time, you can ignore this topic otherwise, it would be a good idea to have a basic understanding at least.

HTH,
Paul.