Created
June 4, 2013 23:28
-
-
Save MarkMenard/5710495 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
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" | |
version="2.4"> | |
<!-- ######################### --> | |
<!-- Filters --> | |
<!-- ######################### --> | |
<!-- Struts 2 filter --> | |
<filter> | |
<filter-name>struts2</filter-name> | |
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> | |
</filter> | |
<!-- Site Mesh filter to do decorating of generated content. --> | |
<filter> | |
<filter-name>sitemesh</filter-name> | |
<filter-class> | |
com.opensymphony.module.sitemesh.filter.PageFilter | |
</filter-class> | |
</filter> | |
<filter> | |
<filter-name>RackFilter</filter-name> | |
<filter-class>org.jruby.rack.RackFilter</filter-class> | |
</filter> | |
<!-- ######################### --> | |
<!-- Filter Mappings --> | |
<!-- ######################### --> | |
<filter-mapping> | |
<filter-name>sitemesh</filter-name> | |
<url-pattern>/*</url-pattern> | |
</filter-mapping> | |
<filter-mapping> | |
<filter-name>struts2</filter-name> | |
<url-pattern>/*</url-pattern> | |
</filter-mapping> | |
<filter-mapping> | |
<filter-name>RackFilter</filter-name> | |
<url-pattern>/*</url-pattern> | |
</filter-mapping> | |
<!-- ######################### --> | |
<!-- Listeners --> | |
<!-- ######################### --> | |
<listener> | |
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | |
</listener> | |
<listener> | |
<listener-class>org.jruby.rack.rails.RailsServletContextListener</listener-class> | |
</listener> | |
<!-- ######################### --> | |
<!-- Context Parameters --> | |
<!-- ######################### --> | |
<!-- JRoR settings --> | |
<context-param> | |
<param-name>rails.root</param-name> | |
<param-value>/WEB-INF/quadran_rails/</param-value> | |
</context-param> | |
<context-param> | |
<param-name>public.root</param-name> | |
<param-value>/WEB-INF/quadran_rails/public</param-value> | |
</context-param> | |
<context-param> | |
<param-name>jruby.compat.version</param-name> | |
<param-value>1.9</param-value> | |
</context-param> | |
<context-param> | |
<param-name>jruby.rack.ignore.env</param-name> | |
<param-value>false</param-value> | |
</context-param> | |
<!-- <context-param> | |
<param-name>jruby.min.runtimes</param-name> | |
<param-value>10</param-value> | |
</context-param> | |
<context-param> | |
<param-name>jruby.max.runtimes</param-name> | |
<param-value>10</param-value> | |
</context-param> | |
--> | |
<context-param> | |
<param-name>jruby.runtime.acquire.timeout </param-name> | |
<param-value>60</param-value> | |
</context-param> | |
<context-param> | |
<param-name>contextConfigLocation</param-name> | |
<param-value> | |
classpath:applicationContext.xml, | |
classpath:${spring.database.xml} | |
</param-value> | |
</context-param> | |
<session-config> | |
<session-timeout>240</session-timeout> | |
</session-config> | |
<welcome-file-list> | |
<welcome-file>index.jsp</welcome-file> | |
</welcome-file-list> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment