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

Difference between character constant and string constant in java ?

0 Answers  


Why are pointers not secure?

0 Answers  


What is tochararray in java?

0 Answers  


What is equlas() and hashcode() contract in java? Where does it used?

0 Answers  


What is the difference between array and arraylist? what is the difference between arraylist and linkedlist?

8 Answers   EDS, Matrix,






Why is multiple inheritance not supported in java?

0 Answers  


What are recursive functions?

0 Answers  


What is difference between local variable and global variable?

0 Answers  


Can we override constructor in java?

0 Answers  


Explain the features of interfaces in java?

0 Answers  


what are literals in java?

2 Answers  


What are some alternatives to inheritance?

0 Answers  


Categories