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 the use of namespace in action mapping in Struts2?
What is struts in java with example?
What is actioncontext?
Can we have multiple struts config files ?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
What is actioninvocation?
What is the use of web xml in struts2?
What is struts-default package and what are it’s benefits?
What is the flow of requests in struts based applications?
What is action class? What are the types of action class?
How the flow of various requests happens in struts application?
What are the ways in which duplicate form submission can occur?
Explain design patterns which is used in struts?
Why is action servlet a singleton in struts?
What is the use of lookupdispatchaction?