webwork.view.xslt
Class XSLTServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
webwork.view.xslt.XSLTServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class XSLTServlet
- extends javax.servlet.http.HttpServlet
XSL presentation servlet. Markup the result as XML and process it
with an XSLT Stylesheet.
This allows you to use XSLT stylesheets as views of WebWork actions.
- Version:
- $Revision: 1.5 $
- Author:
- Rickard Öberg (rickard@dreambean.com), Philipp meier (meier@o-matic.de)
- See Also:
- Serialized Form
Method Summary |
protected javax.xml.transform.Templates |
getTemplates(javax.servlet.http.HttpServletRequest request)
|
void |
init(javax.servlet.ServletConfig config)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STACK_NAME
public static final java.lang.String STACK_NAME
- See Also:
- Constant Field Values
ROOT_ELEMENT_NAME
public static final java.lang.String ROOT_ELEMENT_NAME
- See Also:
- Constant Field Values
log
protected static org.apache.commons.logging.Log log
XSLTServlet
public XSLTServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException,
java.net.MalformedURLException
- Throws:
javax.servlet.ServletException
java.io.IOException
java.net.MalformedURLException
getTemplates
protected javax.xml.transform.Templates getTemplates(javax.servlet.http.HttpServletRequest request)
throws javax.xml.transform.TransformerException,
java.io.IOException
- Throws:
javax.xml.transform.TransformerException
java.io.IOException
Copyright © 2001-2003 WebWork All Rights Reserved.