XTP Tutorials
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

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-2005 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.