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

Which class cannot be a subclass in java?

0 Answers  


List any five features of java?

0 Answers  


Which method must be implemented by all threads?

0 Answers  


why interaction with server using javascript is difficult

1 Answers  


Difference between keyword and identifier.

0 Answers   TCS,


What are the ways of polymorphism other than Overridding & Overloading

1 Answers  


What is externalizable?

0 Answers  


What is the new line character?

0 Answers  


What is the argument type of main() method?

2 Answers  


Can we access a database using applets?

2 Answers   Hewitt,


What is advantage of using threads?

2 Answers   BMC,


What's a method in programming?

0 Answers  


Categories