• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Taglib

 
n prabakaran
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
http://jakarta.apache.org/taglibs/doc/datetime-doc/index.html
Regards
Vadi

[This message has been edited by Vadivel S (edited June 28, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic