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

Why is a singleton bad?

0 Answers  


Why do we create threads in java?

0 Answers  


Explain about sets?

0 Answers  


Where are register variables stored?

0 Answers  


How to find the largest value from the given array.

0 Answers  






What is class and object in java?

0 Answers  


How to create an instance of a class without using "new" operator? Plz help me out properly.Thank u.

10 Answers   CSC,


How do you sort in ascending order in java?

0 Answers  


What is meant by Servelet? What are the parameters of service method?

2 Answers  


Explain implementation and how is it different from conversion?

0 Answers   Aricent,


Which Component subclass is used for drawing and painting?

1 Answers  


How can u increase the heap size in the memory?

0 Answers   Infosys,


Categories