caucho
Resin
FAQ
Reference Guide
JavaDoc
Demo
Tutorial

Getting Started
Configuration
EJB
Topics
JSP
XTP/XSL

Basic Config
Resin Config
HTTP Config
App Config
Servlet Config
SSL
Login Config
Taglib Config
Summary
 

Login Config
Configuration
Summary

The tag library configuration file is typically provided by the tag library vendor. In general, users of the tag library will only need to configure the taglib to point to the vendor's configuration.
resin.conf
<web-app>
<taglib taglib-uri='/mytag/test'
        taglib-location='/MyTag.tlb'/>
</web-app>

As a shortcut during development, you can pull the taglib definition into the resin.conf:

<web-app>
<taglib taglib-uri='/mytag/test'>
  <tag name='bar' tagclass='test.NoTag'/>
  <tag name='foo' tagclass='test.MyTag' teiclass='test.MyTagInfo'/>
</web-app>

Resin 1.2.2 will detect any META-INF/*.tld and WEB-INF/*.tld automatically, so you don't need to add them individually. (The new behavior is part of the Servlet 2.3 spec.)

Index
attribute
tag
taglib

taglib

Defines a tag library. The taglib declaration will contain several tag declarations.

AttributeMeaning
versionVersion of the tag library.
jspversionExpected JSP version
shortnameA short name for the tag library. For IDEs, this may give a suggested tag prefix.
uriA unique identifier for the tag library.
infoAn information string for the tag library.

tag

Defines a tag. The tag may contain several attribute declarations.

AttributeMeaning
nameThe tag name
tagclassThe tag class
teiclassThe TagExtraInfo class (used for validation and declaring implicit variables.
bodycontentFalse if the tag should always be empty.
infoAn information string for the tag.

attribute

Defines a tag attribute.

AttributeMeaning
nameThe attribute name.
requiredTrue if the tag is required.
rtexprvalueTrue if the tag can use a real time expression.


Login Config
Configuration
Summary
Copyright © 1998-2002 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.