File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes JSP Taglib Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP Taglib" Watch "JSP Taglib" New topic

JSP Taglib

n prabakaran

Joined: Jun 28, 2001
Posts: 4
Hi friends
I don't know how to create JSP taglib. I have tried
by using books but i cann't. Can u please explain
it in clear steps. I am using JavaWebServer2.0

Vadivel S

Joined: May 26, 2001
Posts: 4
To create ur own tags u can use taglibs.
To create a tag u need to have a tld file that describes ur tag and its attributes. This file should be placed in ur WEB-INF directory.
You need a java file that extends BodyTagSupport or TagSupport class and the logic behind the tag is implemented in this file.
For further details visit this URL

[This message has been edited by Vadivel S (edited June 28, 2001).]
I agree. Here's the link:
subject: JSP Taglib
It's not a secret anymore!