what is mean by custom tag?

Answer Posted / rajashree

Custom tags are a central piece in Java-based web
application frameworks.
– Custom tag functionality is implemented by your subclass
of either TagSupport or BodyTagSupport.
– Use TagSupport if your custom tag doesn’t have a body
and BodyTagSupport if it does.
– You need to declare your custom tag in a Tag Library
Descriptor (TLD) file.
– You might have to register the TLD file’s location in
web.xml.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between plain-validator and field-validator?

536


Briefly tell the two kinds of form beans.

569


Which library is provided by struts for form elements like check boxes, text boxes etc?

518


What is the use of lookupdispatchaction?

572


Where can I get help with struts?

582






What is the use of jsonvalidation?

607


Explain about token feature in struts?

567


How can we write our own interceptor and map it for action?

583


What is struts2 in java?

544


What are the benefits of the struts system?

583


How struts2 supports internationalization?

662


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

635


Can we have multiple struts config files in a single web app?

508


What is the difference between struts and spring?

527


Explain the necessity of empty tag?

606