<title>Resin Tutorial</title>

<section title="Servlet Tutorial Trail">

<ul>
<li><a href="servlets.xtp">Hello, World Servlet</a>:
A Servlet writing HTML to the browser.
[<a href="servlet/example.servlet.basic.HelloServlet">Demo</a> |
 <a href="javadoc/example/servlet/basic/package-summary.html">JavaDoc</a>]

<li>URL components: Extracting components of the URL.
[<a href="servlet/example.servlet.basic.URLServlet/tail?a=b">Demo</a> |
 <a href="javadoc/example/servlet/basic/package-summary.html">JavaDoc</a>]

<li>Init parameters: Configuring a servlet in the web.xml.
[<a href="servlet/servlet-a">servlet-a Demo</a> |
 <a href="servlet/servlet-b">servlet-b Demo</a> |
 <a href="servlet/example.servlet.basic.InitServlet">InitServlet Demo</a> |
 <a href="javadoc/example/servlet/basic/package-summary.html">JavaDoc</a>]

<li>servlet-mapping: Mapping from URLs to servlets.
[<a href="exact">/exact Demo</a> |
 <a href="prefix">/prefix Demo</a> |
 <a href="prefix/foo">/prefix/foo Demo</a> |
 <a href="test.map">/test.map Demo</a> |
 <a href="test.map/foo">/test.map/foo Demo</a> |
 <a href="prefix/test.map">/prefix/test.map Demo</a> |
 <a href="javadoc/example/servlet/basic/package-summary.html">JavaDoc</a>]
</ul>

<subsection title='Database'>

The following link will
<a href="servlet/example.servlet.database.InitDatabaseServlet">initialize the database</a> for the database examples, assuming you have the
java:comp/env/jdbc/test database configured.  If not, see the <a href="db-config.xtp">database configuration</a> for information.

<ul>
<li>A simple database query:
How to query a database from a servlet.
[<a href="servlet/example.servlet.database.QueryServlet">Demo</a> |
 <a href="javadoc/example/servlet/database/package-summary.html">JavaDoc</a>]
</ul>


</subsection>

</section>

<section title="Getting Started">
<ul>
<li><a href="add_page.xtp">JSP</a> page creation.
<li><a href="servlets.xtp">Servlet</a> creation.
<li><a href="parse_error.xtp">parse error</a> messages.
<li><a href="run_error.xtp">runtime error</a> messages.
<li><a href="debug.xtp">debugging and tracing</a> configuration.
</ul>
</section>

<section title="Configuration">
<ul>
<li><a href="conf-basic.xtp">Basic</a> configuration.
<li><a href="plugin-dispatch.xtp">Plugins dispatch</a> URLs using the resin.conf.
<li><a href="isp.xtp">ISP</a> configuration for one JVM per user.
<li><a href="tcp-sessions.xtp">TCP</a>-based distributed sessions.
<li><a href="linux-boot.xtp">Linux boot</a> configuration.
<li><a href="tuning.xtp">Tuning</a> configuration.
</ul>
</section>

<section title="Request">
<ul>
<li><a href="req_url.xtp">URL</a> components.
<li><a href="form.xtp">Form</a> parameters.
<li><a href="multipart.xtp">Multipart Forms</a>: file uploading and internationalization.
<li><a href="req_headers.xtp">Headers</a>: customizing results for each browser.
</ul>
</section>

<section title="Database">
<ul>
<li><a href="db_form.xtp">database pools</a> - store survey results is a database.
<li><a href="db-config.xtp">database configuration</a> - separate database configuration from use.
</ul>
</section>

<section title="XTP">
<ul>
<li><a href="xtp-copy.xtp">XTP copy</a> treats XTP pages exactly like JSP.
<li><a href="xtp-format.xtp">Format</a> sections, splitting style from content
<li><a href="xtp-page.xtp">Encode links</a> for sessions automatically
<li><a href="xtp-strict.xtp">Strict XSL</a> equivalent to StyleScript
</ul>
</section>

<section title="Taglib">
<ul>
<li><a href="tag-hello.xtp">Hello Tag</a> - a simple replacement taglib for JSP.
<li><a href="tag-attribute.xtp">Attribute Tag</a> - session rewriting for <var/&lt;a href>/>.
<li><a href="tag-mail.xtp">Mail Tag</a> - mailing the body of a tag.
<li><a href="tag-xsl.xtp">XSL Tag</a> - transform the contents of a tag with XSL.
<li><a href="tag-connection.xtp">Database connection tag</a> - automatically get and close connections.
</ul>
</section>

<section title="Filter">
<ul>
<li><a href="filter-vary.xtp">Filter vary stylesheet</a> -- using a
filter to vary the stylesheet for a Serif page.
</ul>
</section>

<section title="Resin HardCore<sup>tm</sup>">
<ul>
<li><a href="hardcore.xtp">Resin HardCore</a> installation and configuration.
</ul>
</section>

<section title="Topics">
<ul>
<li><a href="mail_form.xtp">Mailing form</a> results to a survey account.
<li><a href="bean.xtp">Java beans</a> with JSP.
<li><a href="cache.xtp">Caching</a> infrequently changing database pages.
<li><a href="xsl-filter.xtp">XSL</a> to filter JSP output.
<li><a href="run-at.xtp">run-at</a> periodic services.
</ul>
</section>
