What is the need of taglibraries?

Answer the question.....

Questions by vasuyelavarthi

Showing Answers 1 - 13 of 13 Answers

rambha19

  • Oct 19th, 2005
 

  Custom tag Libraries allow the java programmer to write code that provides data access and other services.

TagLibraries cab have access to all the objects available to jsp pages including request,response,IN,OUT.

Communicate with each other,you can create and initialize a bean(javabean).Create a variable that refers to that bean in one tag,and then use the bean in other tag.

can be nested with one another,allowing complex interactions with in a jsppage.

SRINIVASARAO.RAMBHA

  Was this answer useful?  Yes

Ashwini

  • Oct 26th, 2005
 

To create own custom tags 

  Was this answer useful?  Yes

Alexander

  • Nov 2nd, 2005
 

To reduce reduncency of jsp coding and taglibaries are used like the templates.

  Was this answer useful?  Yes

Mannu Kumar Pandey

  • Nov 3rd, 2005
 

Tag library are mainly user defined library that are used in JSP to make presentation simple.

  Was this answer useful?  Yes

Devendra

  • Nov 4th, 2005
 

To make some standard component which could be re-used in n-number of JSP files.

  Was this answer useful?  Yes

radha krishna

  • Nov 15th, 2005
 

 Tag lib usage : Without taglibraries we cant write JSTL code.It is seperate from pure JSP.

 

  Was this answer useful?  Yes

P.Jaya Lakshmi

  • Nov 16th, 2005
 

taglibraries are used in jsp inorder to remove the java code from jspThe developer of taglibrary provides the TLD files and the set of classes which are provided as the jar files and when we use the custome tag in our jsp file then the corresponding code available in the classes provided by the implementor of taglibrary will be executed.

  Was this answer useful?  Yes

arun

  • Feb 17th, 2006
 

tag libraries r mainly used to create custom actions.actually it hold information abt tag handler which provides functionality for the custom tags

  Was this answer useful?  Yes

B srinivasarao

  • Mar 3rd, 2006
 

hi aswini,

that is also one of the purpose but the main purpose is we can avoid the scriptlets in jsp pages .if we use scriptlets the java code is written inside the

scriptlets.if we can avoid java code, it easy to develope the webapplicatins by a non - java programmer.

if there is any questins on j2se,jdbc,servlets,jsp,jndi,java mail api,java bean , plz send that to my mail

id given below------>bora_srinivasarao@yahoo.co.in

                                             okey Bayee.........

                                          keeps smiling and mailng

                                    bora_srinivasarao@yahoo.co.in

  Was this answer useful?  Yes

bora.srinivas

  • Mar 5th, 2006
 

hi deepak, what is the main purpose of tag libraries?

  Was this answer useful?  Yes

Vijay

  • Aug 15th, 2006
 

The primary reason behind tag libraries was to separate presentation logic from buisness logic which was not possible in previous versions of JSP and also code reusability. Which can be achieved using Tag libraries

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions