"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.
About Question enthuware.jwpv6.2.616 :
Moderator: admin
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.616 :
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.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
Re: About Question enthuware.jwpv6.2.616 :
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?
Is it possible that this question or a related topic ("building custom tags") appears on the real exam?
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.616 :
Some candidates have reported getting a couple of questions on building custom tags that is why we have kept these questions.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?
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.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 127 guests