Ignore:
Timestamp:
2024-03-12T12:05:52+13:00 (3 months ago)
Author:
kjdon
Message:

moved oaiservlet specification out of web.xml and into servlets.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/WEB-INF/web.xml

    r36986 r38839  
    9393    &flax-config;
    9494   
    95     <!-- the oai servlet. You can add multiple oai servlets by copying
    96          the description and changing site_name and servlet_url params.
    97          Remember to add the mapping here and the corresponding servlet_url
    98          into build.properties -->
    99     <servlet>
    100         <servlet-name>oaiserver</servlet-name>
    101         <description>the default oai servlet</description>
    102         <servlet-class>org.greenstone.gsdl3.OAIServer</servlet-class>
    103         <init-param>
    104             <param-name>default_lang</param-name>
    105             <param-value>en</param-value>
    106         </init-param>
    107         <init-param>
    108             <param-name>site_name</param-name>
    109             <param-value>localsite</param-value>
    110         </init-param>
    111         <!-- this needs to correspond to the value in the url-pattern
    112              part of the mapping, below.-->
    113         <init-param>
    114             <param-name>servlet_url</param-name>
    115             <param-value>oaiserver</param-value>
    116         </init-param>
    117     </servlet>
    118 
    119         <servlet-mapping>
    120         <servlet-name>oaiserver</servlet-name>
    121         <url-pattern>/oaiserver/*</url-pattern>
    122     </servlet-mapping>
    12395
    12496    <!-- axis servlets -->
Note: See TracChangeset for help on using the changeset viewer.