Sha256: c99395237c6b0fa4315366c7cfdad6c80b2e4daeec3bea5aaab073e7c0f7a65e
Contents?: true
Size: 1.6 KB
Versions: 57
Compression:
Stored size: 1.6 KB
Contents
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <context-param> <param-name>jruby.standalone</param-name> <param-value><%%= config.standalone %></param-value> </context-param> <%% if !config.standalone %> <!-- jruby.home can be set either here, or as the system property jruby.home --> <context-param> <param-name>jruby.home</param-name> <param-value><%%= config.jruby_home || '/usr/local/jruby' %></param-value> </context-param> <%% end %> <context-param> <param-name>rails.env</param-name> <param-value><%%= config.rails_env %></param-value> </context-param> <context-param> <param-name>files.default</param-name> <param-value>rails</param-value> <description>The files servlet should forward to the rails servlet if no file could be found</description> </context-param> <listener> <listener-class>org.jruby.webapp.RailsContextListener</listener-class> </listener> <servlet> <servlet-name>rails</servlet-name> <servlet-class><%%= config.servlet %></servlet-class> </servlet> <servlet> <servlet-name>files</servlet-name> <servlet-class>org.jruby.webapp.FileServlet</servlet-class> </servlet> <!-- Allow all requests to go to the files servlet first --> <servlet-mapping> <servlet-name>files</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> <%% if config.datasource_jndi %> <resource-ref> <res-ref-name><%%= config.datasource_jndi_name %></res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> <%% end %> </web-app>
Version data entries
57 entries across 57 versions & 1 rubygems