view gnv/src/main/webapp/WEB-INF/web.xml @ 694:271ec4d11a9f

Changed the whole design of the application regarding the bsh styleguide. gnv/trunk@925 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 13 Apr 2010 16:44:30 +0000
parents 15497dce8fcd
children 090d8331e5fd
line wrap: on
line source
<!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>
  <display-name>Archetype Created Web Application</display-name>
  <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>de.intevation.gnv.servlet.GNVActionServlet</servlet-class>
        
        <!--  The Struts Configuration, relative to the Project-Folder,
              which should be used to configure this Project.  -->
        <init-param>
            <param-name>config</param-name>
            <param-value>/WEB-INF/config/struts-config.xml</param-value>
        </init-param>
        
        <!--  The Log4J Configuration, relative to the Project-Folder,
              which should be used in this Project.  -->
        <!--
        <init-param>
            <param-name>de.intevation.gnv.servlet.log4j.configuration</param-name>
            <param-value>WEB-INF/config/log4j.properties</param-value>
        </init-param>
        -->
        
        <!--  The Number of ArtifacDatabases which are configured in this Document. -->
        <init-param>
            <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.count</param-name>
            <param-value>1</param-value>
        </init-param>
        
        <!--  One URL to an ArtifactDatabase which should be used in this Project.
              It is possible to define several Artifactdatabases according to the
              Number which is configured above. It is necessary to change the Count
              - Number in param-name - for each Artifactdatabase.
              The first one must be 1 -->
         <init-param>
            <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.url.1</param-name>
            <param-value>http://localhost:8181</param-value>
        </init-param>
        
        <!--  Load the Servlet once on Systemstartup. 
              This should be done to configure the GNV at startup
              and not if the first user will call a Page. -->
        <load-on-startup>1</load-on-startup>
        
    </servlet>
    <!-- Standard Action Servlet Mapping -->
    <servlet-mapping>
        <servlet-name>action</servlet-name>
        <url-pattern>*.do</url-pattern>
    </servlet-mapping>
</web-app>

http://dive4elements.wald.intevation.org