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

What is the difference between interpreter and compiling ?

7 Answers   TCS,


What is the use of isempty in java?

0 Answers  


Which is the best sorting technique in java?

0 Answers  


Difference between the String and StringBuffer classes?

3 Answers  


What is the meaning of 3 dots in java?

0 Answers  


What is += mean in java?

0 Answers  


Are private methods final?

0 Answers  


Hi ,i convert contrller as jSp And presentation as servlet ...will it do? if so what are advantage and idsadvantages

2 Answers   IBM,


What are the methods of object class ?

0 Answers  


What are the differences between c++ and java?

0 Answers  


Why is it important to initialize a variable?

0 Answers  


what is abstract class in Java?

0 Answers   Hexaware, Syntel,


Categories