What are the steps required in adding a JSP Tag Libraries?

1. Create a TLD file and configure the required class Information.

2. Create the Java Implementation Source extending the JSP Tag Lib Class (TagSupport).

3. Compile and package it as loosed class file or as a jar under lib folder in Web Archive File for Class loading.

4. Place the TLD file under the WEB-INF folder.

5. Add reference to the tag library in the web.xml file.

Showing Answers 1 - 1 of 1 Answers

siva kuamar reddy

  • Aug 1st, 2006
 

1) we have to write the taghandler classes that extends TagSupport

2)create the jar file by using jar cvf (giveone name).jar (packagenane).

3)create the tld file

4)place the tld file into the WEB-INF directory

5)place the jar file into WEB-INF/classes directory

6)configure the imformation about the tld file in web.xml

  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

 

Related Open Questions