what is the use of custom tags? with example?

Answer Posted / namita

custom tags are userdefined tags.

use of custom tags is u can defined ur own tags in ur code.
u need not to depend upon system defined tags. u can create
and use ur own tags.

eg,

<email>
<to></to>
<from></from>
</email>

u just need to define this tags in xml file and use that
tags in ur code by including <@taglib> directive.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are three types of loops in java?

801


How can you read content from file in java?

799


why not override thread to make a runnable? : Java thread

751


How many bits are in a sentence?

796


What is t type java?

815


what is function overloading in java?

952


What is a substring of a string?

789


give an example for encapsulation?

770


What is difference between fileinputstream and filereader in java?

776


What is flag in java?

739


How can we make string upper case or lower case?

779


What do u mean by variable?

790


What is number data type?

770


What is pre increment and post increment in java?

706


Can bool be null?

729