29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The tag library provides functions that you would otherwise have to implement<br />

separately in each JDBC application, such as caching the rows of a result set in<br />

memory, and executing updates or deletes on rows of the result set.<br />

I18N tag library (from Jakarta)<br />

The I18N custom tag library contains tags that help manage the complexity of<br />

creating internationalized Web applications.<br />

DateTime tag library (from Jakarta)<br />

The DateTime custom tag library contains tags that can be used to handle<br />

date-and time-related functions. Tags are provided for formatting a date for<br />

output, generating a date from HTML forum input, using time zones, and<br />

localization.<br />

Mailer tag library (from Jakarta)<br />

This custom tag library is used to send e-mail.<br />

String tag library (from Jakarta)<br />

This custom tag library is used to manipulate Strings.<br />

Utility tag library (from Jakarta)<br />

The utility custom tag library contains examples of some basic tags. It illustrates<br />

several custom tag library code techniques.<br />

JSP standard tag library (from Jakarta)<br />

JSTL is the standardized set of custom tag libraries that are slated to become<br />

part of the JSP standard. JSTL will replace many of the current Jakarta tag<br />

libraries. Examples of such features are listed below. However, there are many<br />

additional features available.<br />

► Basic logic and flow control tags (if, choose, forEach, etc.)<br />

► Access to implicit server objects (params, session, etc.)<br />

► Reduced scriptlets and use of scoped variables<br />

► Date formatting tags<br />

9.2.5 Tag libraries used in the example sample applications<br />

In addition to the tag libraries you can select when you create a Web project,<br />

Studio Site Developer also includes a few tag libraries in the sample projects. If<br />

you see one you want to use, you can load the sample and import the JAR file<br />

from the WEB-INF/lib directory.<br />

Table 9-4 on page 300 shows the tag libraries used in the examples applications.<br />

Chapter 9. Using tag libraries 299

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!