Hibtags

JSP 1.2 tag library for Hibernate 2.1

Getting started

Assumptions

1. You have a Servlet 2.3/JSP 1.2 web server. If you do not, check out http://www.caucho.com/download or http://jakarta.apache.org/tomcat. Using Resin 2.x or Tomcat 4.1.x.

2. You know how to use Hibernate and already have hibernate working in your webapp. If you are not familiar with hibernate, please visit http://www.hibernate.org. There is also a very good introduction to hibernate at http://www.systemmobile.com/articles/IntroductionToHibernate.html.

Using the taglib

3. Install the taglib by copying the hibtags.jar to your WEB-INF/lib directory. You should not need to add a taglib definition to your web.xml since most modern servlet engines will automatically load the TLDs from the jars in your WEB-INF/lib directory.

4. Create a JSP, declare the taglib for that page using the following directive:

<%@ taglib uri="http://hibtags.lokitech.com/taglib" prefix="hib" %>

5. Write a basic <hib:find> tag and have fun with it!

Home
Examples
Documentation
Mailing list
Download
About Us
License
CVS
SF page





SourceForge.net Is Down