what is custom tags with example?

Answer Posted / rakesh

A custom tag is a user-defined JSP language element. When a
JSP page containing a custom tag is translated into a
servlet, the tag is converted to operations on an object
called a tag handler

ex-bodyless tag 2 tags with body
1<tagName attributeName="value"
anotherAttributeName="anotherValue"/>

2.<tagName attributeName="value"
anotherAttributeName="anotherValue">
...tag body...
</tagName>

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you replace all in word?

612


What is the difference between throw and throws keywords?

660


How finally used under exception handling?

599


If you do not want your class to be inherited by any other class. What would you do?

666


How to disable caching on back button of the browser?

609






Mention the default values of all the elements of an array defined as an instance variable.

601


What do you mean by thread safe?

640


What is regex in java?

602


What are the benefits of immutable objects?

630


What is the java reflection api? Why it’s so important to have?

631


What is nested loop? What is dangling else condition in it?

680


What are the special characters?

627


why an outer class cannot be declared as private?

3732


How destructors are defined in java?

737


What is the difference between length and length() method in java?

739