JSP CUSTOM TAG LIBRARIES


db tag
Example

Provides a database context for all enclosed tags. If you are including several core tags that are running off the same database in a page, you can wrap them in this tag to increase scalability. This tag is not required if there is only one core tag on the page; the dbserver and dbname attributes of that core tag implement the db tag for you. Do not use this tag to wrap two core tags that reside in different databases; use the session tag instead.

If you do not supply values for the user and password attributes, the database identifies the user as an Anonymous user. The database's ACL must have an "Anonymous" entry with at least Reader level privileges to the database for the tag to access the database successfully. For more details, see "Anonymous access" in the Application Development with Domino Designer book.

To loop over all the documents in a database, use the docloop tag nested inside the db tag.

Contexts

Valid in:


Creates for:
Syntax
Attributes

The following attributes are optional:

dbname


dbserver
host
id
password
user
See the Common Domino JSP tag attributes section for definitions of debug, onfailure, and time.

Example
See Also