User's Guide
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

How it works
XTP Copy
Formatting
Link Rewriting
JSP tag libraries
Introduction
XTP
How it works

How XTP works
XTP Copy

For most XTP pages, the default XSLT transormation you want is to copy the input into the output. Your XTP pages can be almost identical to JSP pages and just use XSLT to eliminate repetitious error-prone patterns.

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. Rewriting links to encode sessions is a tedious and error-prone task. If you use URL-encoded sessions, every link and every

action needs a rewritten link using response.encodeURL(). XTP can rewrite those for you automatically.

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. The XTP pages can be simple XML or HTML documents and simply add the custom tags as necessary.


Introduction
XTP
How it works
Copyright © 1998-2005 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.