29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Page tag library (from Jakarta)<br />

The Page custom tag library contains tags that can be used to access all the<br />

information about the PageContext for a JSP page.<br />

Tags are provided to access information in "page"-scoped attributes.<br />

Request tag library (from Jakarta)<br />

The Request custom tag library contains tags that can be used to access all the<br />

information about the HTTP request for a JSP page.<br />

Tags are provided to access information in the HTTP request for HTTP input<br />

parameters from a POST or GET, HTTP headers, cookies, request attributes,<br />

and session information related to this request.<br />

Response tag library (from Jakarta)<br />

The Response custom tag library contains tags that can be used to set all the<br />

information for an HTTP response for a JSP page.<br />

This includes creating cookies and setting their values, setting HTTP headers,<br />

returning back an HTTP error, or sending an HTTP redirect.<br />

Session tag library (from Jakarta)<br />

The Session JSP tag library provides tags for reading or modifying client<br />

HttpSession information.<br />

A servlet container uses an HttpSession to store information about a client’s<br />

session on the server. By default, a JSP page will create a session for a user.<br />

The user is tied to the session using either a cookie or URL rewriting. This is how<br />

you can tie information to a user between multiple HTTP requests to your server.<br />

Session attributes are what makes it possible to store information about a client’s<br />

session between multiple HTTP requests. A session attribute consists of a name<br />

and value. To save information about a user’s session on your server, use the<br />

setattribute tag.<br />

Jspsql tag library (from <strong>IBM</strong>)<br />

<strong>IBM</strong> provides a tag library of JSP actions for database access. The tag library<br />

uses a provided set of beans (dbbeans.jar) that offers an easy alternative to<br />

direct use of the JDBC interface for database access. The beans themselves are<br />

implemented using the JDBC interface, and are therefore able to access any<br />

database that has a JDBC driver.<br />

298 <strong>IBM</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> - Express V5.0.2 Developer Handbook

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

Saved successfully!

Ooh no, something went wrong!