<commit_before>#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
<web-app 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-app_2_5.xsd"
    version="2.5">

    <display-name>${webapp-name}</display-name>

    <!-- Log4J configuration -->
    <context-param>
        <param-name>log4jConfigLocation</param-name>
        <param-value>WEB-INF/log4j.properties</param-value>
    </context-param>

    <listener>
        <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
    </listener>

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>classpath*:META-INF/spring/*-context*.xml</param-value>
    </context-param>

    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>

    <!-- Servlets -->
    <servlet>
        <servlet-name>${artifactId}</servlet-name>
        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
        <init-param>
            <param-name>contextConfigLocation</param-name>
            <param-value>/WEB-INF/${artifactId}-servlet.xml</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>${artifactId}</servlet-name>
        <url-pattern>*.action</url-pattern>
        <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>

    <!-- See de.terrestris.shogun2.web.ExtModelController -->
    <servlet-mapping>
        <servlet-name>${artifactId}</servlet-name>
        <url-pattern>/shogun2/model/*</url-pattern>
    </servlet-mapping>

    <!-- See de.terrestris.shogun2.web.ExtModelController -->
    <servlet-mapping>
        <servlet-name>${artifactId}</servlet-name>
        <url-pattern>/${artifactId}/model/*</url-pattern>
    </servlet-mapping>

    <!-- Misc -->
    <welcome-file-list><commit_msg>Make archetype compatible to the locale interface<commit_after>#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
<web-app 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-app_2_5.xsd"
    version="2.5">

    <display-name>${webapp-name}</display-name>

    <!-- Log4J configuration -->
    <context-param>
        <param-name>log4jConfigLocation</param-name>
        <param-value>WEB-INF/log4j.properties</param-value>
    </context-param>

    <listener>
        <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
    </listener>

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>classpath*:META-INF/spring/*-context*.xml</param-value>
    </context-param>

    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>

    <!-- Servlets -->
    <servlet>
        <servlet-name>${artifactId}</servlet-name>
        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
        <init-param>
            <param-name>contextConfigLocation</param-name>
            <param-value>/WEB-INF/${artifactId}-servlet.xml</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>${artifactId}</servlet-name>
        <url-pattern>*.action</url-pattern>
        <url-pattern>*.json</url-pattern>
        <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>

    <!-- See de.terrestris.shogun2.web.ExtModelController -->
    <servlet-mapping>
        <servlet-name>${artifactId}</servlet-name>
        <url-pattern>/shogun2/model/*</url-pattern>
    </servlet-mapping>

    <!-- See de.terrestris.shogun2.web.ExtModelController -->
    <servlet-mapping>
        <servlet-name>${artifactId}</servlet-name>
        <url-pattern>/${artifactId}/model/*</url-pattern>
    </servlet-mapping>

    <!-- Misc -->
    <welcome-file-list>
{'fraction_non_alphanumeric': 0.1828692779613025, 'fraction_numerical': 0.008022652194431336, 'mean_word_length': 2.8536363636363635, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6992830', 'n_tokens_mistral': 1440, 'n_tokens_neox': 1366, 'n_words': 122}