This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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).]
It is sorta covered in the JavaRanch Style Guide.
subject: JSP Taglib
It's not a secret anymore!