XTP Tutorials
Resin

Change Log
Documentation

Orientation
Features
Installation
Configuration
Web Applications
JSP
Servlets and Filters
Databases
Admin (JMX)
Security
XML and XSLT
XTP
Resources (JNDI)
Performance
Protocols
Third-party
Troubleshooting

Introduction
User's Guide
Reference
Tutorials

Varying the XSL
Templates
XTP
Varying the XSL

Servlet Filter with XTP -- Vary

This example uses a servlet filter to select the stylesheet that is used for XTP pages. If the user adds the style=plain query, the page will use a plain stylesheet. Otherwise the page will use a fancy stylesheet.


Templates
XTP
Varying the XSL
Copyright © 1998-2003 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.