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 meant by constructor?

8 Answers  


What is an example of a constant variable?

0 Answers  


my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??

1 Answers  


What is a string token?

0 Answers  


Can we have any code between try and catch blocks?

0 Answers  






Hi friends i want display Triangle shap stars(*) please can tell me any one java code logic? * *** ***** ******* Like this

2 Answers   NIIT, TCS,


What are the allowed, non-Unicode letter characters that can be used as the first character of an identifier?

2 Answers  


Explain the importance of finally block in java?

0 Answers  


What is the purpose of java?

0 Answers  


Objects or references which of them gets garbage collected?

0 Answers  


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

0 Answers   HCL,


How is the marker interface used in Java?

0 Answers   BirlaSoft,


Categories