diff options
author | Jeremias Maerki <jeremias@apache.org> | 2003-02-02 16:36:42 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2003-02-02 16:36:42 +0000 |
commit | 9cfda2c687089174682d557a98e7f46b97df38fe (patch) | |
tree | 93f0b651af1d4d5dd012d9ce9172cc6a526a3c0a /src/conf/web.xml | |
parent | fb60321348127fa74c36d6bd1bf147ce30dbfc58 (diff) | |
download | xmlgraphics-fop-9cfda2c687089174682d557a98e7f46b97df38fe.tar.gz xmlgraphics-fop-9cfda2c687089174682d557a98e7f46b97df38fe.zip |
Servlet moved into normal source as package org.apache.fop.servlet.
Refactored FopServlet to use JAXP instead of XSLTInputHandler.
Improved code to serve as educational example.
FopPrintServlet compiles but doesn't work because no AWT renderer is currently available.
FopServlet works fine here but currently only support filenames as input parameters. Should be improved.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195920 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/conf/web.xml')
-rw-r--r-- | src/conf/web.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/conf/web.xml b/src/conf/web.xml new file mode 100644 index 000000000..cc78a204e --- /dev/null +++ b/src/conf/web.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" + "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> +<web-app> + <!-- Servlets --> + <servlet> + <servlet-name>Fop</servlet-name> + <servlet-class>org.apache.fop.servlet.FopServlet</servlet-class> + </servlet> + <servlet> + <servlet-name>FopPrint</servlet-name> + <servlet-class>org.apache.fop.servlet.FopPrintServlet</servlet-class> + </servlet> + <!-- Servlet mappings --> + <servlet-mapping> + <servlet-name>Fop</servlet-name> + <url-pattern>/</url-pattern> + </servlet-mapping> + <servlet-mapping> + <servlet-name>FopPrint</servlet-name> + <url-pattern>/fopprint</url-pattern> + </servlet-mapping> +</web-app> |