Created
July 18, 2014 22:42
-
-
Save ebruchez/ffe10131b3b5308fa71a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<web-app version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/j2ee"> | |
<!-- Declare and configure the Orbeon Forms XForms filter --> | |
<filter> | |
<filter-name>orbeon-form-runner-filter</filter-name> | |
<filter-class>org.orbeon.oxf.fr.embedding.servlet.ServletFilter</filter-class> | |
<init-param> | |
<param-name>form-runner-url</param-name> | |
<param-value>http://localhost:8080/orbeon</param-value> | |
</init-param> | |
<init-param> | |
<param-name>orbeon-prefix</param-name> | |
<param-value>/orbeon</param-value> | |
</init-param> | |
</filter> | |
<!-- Any web resource under /xforms-jsp is processed by the XForms engine --> | |
<filter-mapping> | |
<filter-name>orbeon-form-runner-filter</filter-name> | |
<url-pattern>*.jsp</url-pattern> | |
<dispatcher>REQUEST</dispatcher> | |
<dispatcher>FORWARD</dispatcher> | |
</filter-mapping> | |
<!-- This is necessary so that XForms engine resources can be served appropriately --> | |
<filter-mapping> | |
<filter-name>orbeon-form-runner-filter</filter-name> | |
<url-pattern>/orbeon/*</url-pattern> | |
<dispatcher>REQUEST</dispatcher> | |
<dispatcher>FORWARD</dispatcher> | |
</filter-mapping> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment