META-INF.web-fragment.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <web-fragment xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd" version="3.0"> <name>stripes</name> <ordering> <after><others /></after> </ordering> <context-param> <param-name>ActionResolver.Class</param-name> <param-value>com.manydesigns.portofino.stripes.ModelActionResolver</param-value> </context-param> <context-param> <param-name>ActionResolver.Packages</param-name> <param-value>com.manydesigns.portofino.actions</param-value> </context-param> <context-param> <param-name>Extension.Packages</param-name> <param-value>com.manydesigns.portofino.stripes,com.manydesigns.portofino.interceptors</param-value> </context-param> <context-param> <param-name>LocalePicker.Class</param-name> <param-value>com.manydesigns.portofino.stripes.LocalePicker</param-value> </context-param> <context-param> <param-name>LocalizationBundleFactory.Class</param-name> <param-value>com.manydesigns.portofino.stripes.PortofinoLocalizationBundleFactory</param-value> </context-param> <context-param> <param-name>LocalePicker.Locales</param-name> <param-value>en,it</param-value> </context-param> <context-param> <param-name>MultipartWrapper.Class</param-name> <param-value>com.manydesigns.portofino.stripes.StreamingCommonsMultipartWrapper</param-value> </context-param> <context-param> <param-name>ActionBeanContext.Class</param-name> <param-value>com.manydesigns.elements.stripes.ElementsActionBeanContext</param-value> </context-param> <!-- Stripes --> <filter> <description>Stripes Filter</description> <display-name>Stripes Filter</display-name> <filter-name>StripesFilter</filter-name> <filter-class> net.sourceforge.stripes.controller.StripesFilter </filter-class> </filter> <filter-mapping> <filter-name>StripesFilter</filter-name> <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <!-- Must be mapped after StripesFilter so it can pick the correct request locale --> <filter> <filter-name>I18nFilter</filter-name> <filter-class>com.manydesigns.portofino.servlets.I18nFilter</filter-class> </filter> <filter-mapping> <filter-name>I18nFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <filter> <description>Dynamically maps URLs to ActionBeans.</description> <display-name>Stripes Dynamic Mapping Filter</display-name> <filter-name>DynamicMappingFilter</filter-name> <filter-class> net.sourceforge.stripes.controller.DynamicMappingFilter </filter-class> </filter> <filter-mapping> <filter-name>DynamicMappingFilter</filter-name> <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> </web-fragment>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy