what is the use of custom tags? with example?



what is the use of custom tags? with example?..

Answer / 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

More Core Java Interview Questions

how to split string in java?

0 Answers  


What are the different types of inheritance in java?

0 Answers  


what is the difference between Object Based Language and Object Oriented Language?

0 Answers   Aspire,


What is Distributed Application and what is its usage?

2 Answers  


What is a subsequence of a string?

0 Answers  






How many static init can you have?

0 Answers  


What is a final class in java?

0 Answers  


Why do we create public static method in java?

0 Answers  


Can you inherit a constructor java?

0 Answers  


What is boolean in java?

0 Answers  


Explain OOPs concept.

0 Answers   Syntel, Visa,


worst case complexities of Quick sort and Merge sort.

0 Answers   Amazon,


Categories