Ignore:
Timestamp:
2021-08-04T10:58:39+12:00 (3 years ago)
Author:
davidb
Message:

Use correct web 3.0 deployment descriptors
Add log4j web APIs and setup for servlets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/atea-nlp-tools/trunk/src/koreromaori-proxy/src/main/webapp/WEB-INF/web.xml

    r35239 r35247  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22
    3 <!DOCTYPE web-app
    4     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    5     "http://java.sun.com/dtd/web-app_2_3.dtd">
     3<web-app xmlns="http://java.sun.com/xml/ns/javaee"
     4         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     5         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
     6                             http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
     7         version="3.0">
    68
    7 <web-app>
    89    <!-- General description of your web application -->
    9 
    10     <display-name>Korero Maori TTS ASR API Interface</display-name>
     10    <display-name>Korero Maori TTS ASR API Proxy</display-name>
    1111    <description>
    12         A servlet that hosts a web interface to the speech-to-text ASR API of https://koreromaori.io/
     12        A servlet that hosts a proxy for the speech-to-text ASR API of https://koreromaori.io/
    1313    </description>
    1414
     
    2929         parameters, including zero.
    3030    -->
    31 
    32     <context-param>
    33       <param-name>webmaster</param-name>
    34       <param-value>[email protected]</param-value>
    35       <description>
    36         The EMAIL address of the administrator to whom questions
    37         and comments about this application should be addressed.
    38       </description>
    39     </context-param>
    4031
    4132    <!-- Servlet definitions for the servlets that make up
     
    6556
    6657    <servlet>
    67       <servlet-name>transcribe</servlet-name>
    68       <description>
    69         This servlet provides a proxy for https://koreromaori.io 's reo Maori speech-to-text ASR API.
    70       </description>
     58      <servlet-name>koreroMaoriTranscribe</servlet-name>
    7159      <servlet-class>org.atea.nlptools.koreromaoriinterface.TranscriptionServlet</servlet-class>
    7260      <load-on-startup>0</load-on-startup>
     
    9280
    9381    <servlet-mapping>
    94       <servlet-name>transcribe</servlet-name>
     82      <servlet-name>koreroMaoriTranscribe</servlet-name>
    9583      <url-pattern>/transcribe</url-pattern>
    9684    </servlet-mapping>
Note: See TracChangeset for help on using the changeset viewer.