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

Why is logger singleton?

562


Is there a jre for java 11?

551


Difference between process and thread?

600


is it possible to instantiate the math class?

528


Is a copy constructor?

574






What is OOP's Terms with explanation?

604


Why java is said to be pass-by-value ?

544


What is difference between filereader and bufferedreader?

529


What is the difference between state-based unit testing and interaction-based unit testing?

494


How do constructors use this() and super()?

545


What is the independent variable in an experiment?

546


Why is stringbuffer not immutable?

564


How many types of variables are there?

667


What advantage do java's layout managers provide over traditional windowing systems?

543


What is getclass () getname () in java?

676