what is mean by custom tag?

Answers were Sorted based on User's Feedback



what is mean by custom tag?..

Answer / rajashree

Custom tags are a central piece in Java-based web
application frameworks.
– Custom tag functionality is implemented by your subclass
of either TagSupport or BodyTagSupport.
– Use TagSupport if your custom tag doesn’t have a body
and BodyTagSupport if it does.
– You need to declare your custom tag in a Tag Library
Descriptor (TLD) file.
– You might have to register the TLD file’s location in
web.xml.

Is This Answer Correct ?    10 Yes 1 No

what is mean by custom tag?..

Answer / venkateswara reddy

we have some pre-defined tags in struts for specific task
No, if u dont have a tag to ur task then u can use CUSTOM
tags.
For this u need to create
1.Handler Class
2.tld file

Is This Answer Correct ?    4 Yes 3 No

what is mean by custom tag?..

Answer / sunil kumar- vizag

jsp provides us a tag library which allows us to write our
own tags within the context of the page.

Is This Answer Correct ?    3 Yes 2 No

what is mean by custom tag?..

Answer / eknath wagadre

Custom Tags user defined or predefined tag library. It's
using in jsp pages. but why we are using these tag we can
directly write the java code in jsp by using script-lets.

Bcz of this reason....Prventing to writing the java code
in JSP file or writing the business logic in jsp files for
this we need the Custom Tag.

We are keeping our java business logic in Our Tag Handler
class. we are not keeping our business logic in jsp

Is This Answer Correct ?    1 Yes 0 No

what is mean by custom tag?..

Answer / alluri.nagaraju

custom tags are user defined sets of the jsp element present
in the Jsp tag libraries.The custom tags used in the Jsp
page are translated in to servlet.The tag is also converted
to operations on object called Tag Handler.These are
reusable presentation components.

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More Struts Interview Questions

What is use of i18n interceptor?

0 Answers  


What is struts 2 framework in java?

0 Answers  


what is the purpose of load_on_startup entry in struts- config.xml?

8 Answers   Satyam,


i have 500 jsps in my application,and i have same forward name for each jsp,so it lokks in strutsconfig.xml,from 1 to 500,but i want send 498 page directly,how can i cingigure my application

2 Answers   TCS,


Hi Friends, am new to struts.I read that " you can store variables in xml file(properties file) and for future enhancements we just call properties file . Now i want to implement this , where can i call properties file to enhance my application. My question is where this properties file will be called.

1 Answers  






What are result types in struts?

0 Answers  


How duplicate form submission can be controlled in struts?

0 Answers  


What are the advantages of spring mvc over struts mvc?

0 Answers  


How to display validation errors on jsp page?

0 Answers  


In struts how to use regurlar formbeans using validation framework explain?

1 Answers   TCS,


What is actionmapping?

0 Answers  


What are the steps involved in creating a strut application?

0 Answers  


Categories