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.

<strong>The</strong> Example JSP Pages<br />

140<br />

■ A listener element that identifies the ContextListener class used to create and remove<br />

the database access.<br />

■ A servlet element that identifies the Dispatcher servlet instance.<br />

■ A set of servlet-mapping elements that map Dispatcher to URL patterns for each of the<br />

JSP pages in the application.<br />

■ Nested inside a jsp-config element are two jsp-property-group elements, which define<br />

the preludes and coda to be included in each page. See “Setting Properties for Groups of JSP<br />

Pages” on page 177 for more information.<br />

Figure 5–2 shows the bookcatalog.jsp page from the Duke’s Bookstore application. This page<br />

displays a list of all the books that are available for purchase.<br />

<strong>The</strong> <strong>Java</strong> <strong>EE</strong> 5<strong>Tutorial</strong> • June 2010

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

Saved successfully!

Ooh no, something went wrong!