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
What is actioncontext?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
What is action servlet in struts?
How tag libraries are defined in Struts?
How many struts config file can be created in struts?
What is role of actionservlet?
What are the ways in which duplicate form submission can occur?
What is lookupdispatchaction?
What is the purpose of constant tag in struts.xml?
What is difference between lookupdispatchaction and dispatchaction?
Explain about the future of struts?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What is the purpose of struts.xml in struct2?
What is strut action mapping?
What is the purpose of @urlvalidator annotation?