Skip to Content
Java and XSLT
book

Java and XSLT

by Eric M. Burke
September 2001
Intermediate to advanced
528 pages
13h 46m
English
O'Reilly Media, Inc.
Content preview from Java and XSLT

Finishing Touches

That about does it for the code walkthrough. Since this is a moderately large application, downloading the code from this book’s web site is much easier than typing everything in by hand. Do not forget that several additional classes are listed in Appendix B.

Deployment

A deployment descriptor and WAR file are required to deploy and test the application. The deployment descriptor, web.xml, is shown in Example 7-39.

Example 7-39. Deployment descriptor

<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"> <web-app> <servlet> <servlet-name>forumServlet</servlet-name> <servlet-class>com.oreilly.forum.servlet.ForumServlet</servlet-class> <init-param> <param-name>jdbcDriverClassName</param-name> <!-- MySQL version is commented out: <param-value>org.gjt.mm.mysql.Driver</param-value> --> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> <init-param> <param-name>databaseURL</param-name> <!-- MySQL version is commented out: <param-value>jdbc:mysql://localhost:3306/forum</param-value> --> <param-value>jdbc:odbc:forum</param-value> </init-param> <init-param> <param-name>adapterClassName</param-name> <!-- Relational database version is commented out: <param-value>com.oreilly.forum.jdbcimpl.JdbcDataAdapter</param-value> --> <param-value>com.oreilly.forum.fakeimpl.FakeDataAdapter</param-value> </init-param> </servlet> <servlet-mapping> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning XSLT

Learning XSLT

Michael Fitzgerald
XSLT

XSLT

Doug Tidwell
XSLT and XPATH: A Guide to XML Transformations

XSLT and XPATH: A Guide to XML Transformations

John Robert Gardner, Zarella L. Rendon

Publisher Resources

ISBN: 0596001436Supplemental ContentCatalog PageErrata