caucho
Resin
FAQ
Reference Guide
Demo
Tutorial

Getting Started
Configuration
IDE
Topics
JSP
XML/XSLT

Basic Config
Directory
Servlets
Filters
Resources
Databases
Messaging
Security Config
Log Config
Taglib Config
Misc resin.conf
Host resin.conf
Port resin.conf
App resin.conf
Summary
Glossary
Index
 Tag Library Configuration

Log Config
Configuration
Misc resin.conf

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 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
attributeDefines a tag attribute
tagDefines a tag
taglibDefines a tag library

taglibResin 1.1

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.


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