10.12.2012 Views

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

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.

CoreTag Library<br />

<br />

select * from PUBLIC.books where id = ?<br />

<br />

<br />

Table 7–2 summarizes the core tags, which include those related to variables and flow control,<br />

as well as a generic way to access URL-based resources whose content can then be included or<br />

processed within the JSP page.<br />

TABLE 7–2 Core Tags<br />

Area Function Tags Prefix<br />

Core Variable support remove<br />

set<br />

Flow control choose<br />

when<br />

otherwise<br />

forEach<br />

forTokens<br />

if<br />

URL management import<br />

param<br />

redirect<br />

param<br />

url<br />

param<br />

Miscellaneous catch<br />

out<br />

Variable SupportTags<br />

<strong>The</strong> set tag sets the value of an EL variable or the property of an EL variable in any of the JSP<br />

scopes (page, request, session, or application). If the variable does not already exist, it is created.<br />

<strong>The</strong> JSP EL variable or property can be set either from the attribute value:<br />

<br />

or from the body of the tag:<br />

c<br />

CoreTag Library<br />

Chapter 7 • <strong>Java</strong>Server Pages StandardTag Library 203

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

Saved successfully!

Ooh no, something went wrong!