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

Is an array a vector?

545


What is the association?

541


What happens to the Exception object after handling an exception?

1805


What is the use of volatile in java?

592


Is java based on c?

527






What is nested loop? What is dangling else condition in it?

569


How many ways can we create the string object?

527


What is output buffer?

563


What is a priority queue java?

515


In how many ways we can do exception handling in java?

569


What will be the default values of all the elements of an array defined as an instance variable?

544


What do you mean by thread safe?

533


What an i/o filter in java programming?

595


what is heap memory?

652


What is the format specifier?

509