About Question enthuware.jwpv6.2.616 :

Moderator: admin

Post Reply
ETS User

About Question enthuware.jwpv6.2.616 :

Post 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.

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.616 :

Post 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.
If you like our products and services, please help us by posting your review here.

dimliakop

Re: About Question enthuware.jwpv6.2.616 :

Post 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?

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.616 :

Post 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.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 127 guests