XTP
Resin 3.0

Features
Installation
Configuration
Web Applications
IOC/AOP
Resources
JSP
Servlets and Filters
Portlets
Databases
Admin (JMX)
CMP
EJB
Amber
EJB 3.0
Security
XML and XSLT
XTP
JMS
Performance
Protocols
Third-party
Troubleshooting/FAQ

Introduction
User's Guide
Reference
Tutorials
XML and XSLT
Resin 3.0
Introduction

XTP (XML Template Pages) Introduction

XTP (XML Template Pages) enhances JSP pages with stylesheets. Sophisticated projects can split page formatting from the JSP-generated content. Splitting the graphic design from the JSP programming helps a web site in several ways:

User's Guide
How XTP works
XTP Copy

For most XTP pages, the default XSLT transormation you want is to copy the input into the output.

Formatting

A major advantage of XTP is its separation of content from formatting. Your source documents can use meaningful markup tags letting the stylesheet format the output.

Link Rewriting

XTP can be used to rewrite links.

JSP tag libraries with XSL

XML Template Pages encourages web sites to create JSP tag libraries. By putting the JSP creation in stylesheets, you can separate the programming from the web pages.

Reference
StyleScript

'StyleScript' adds some syntactic sugar to XSLT to make stylesheets more readable.

Tag Libraries

XTP Template Pages can be used to create JSP tag libraries.

Templates
XTP Tutorials
Servlet Filter with XTP -- Vary

This example uses a servlet filter to select the stylesheet that is used for XTP pages.


XML and XSLT
Resin 3.0
Introduction
Copyright © 1998-2005 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.