Changeset 36986


Ignore:
Timestamp:
2022-12-07T14:05:42+13:00 (19 months ago)
Author:
kjdon
Message:

rearranged this. put servlet mappings next to their servlet entries. Commented out all except oaiserver and grabtext - maybe can comment out grabtext as well? but I don't know what its used for

File:
1 edited

Legend:

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

    r36281 r36986  
    7777    -->
    7878
    79     <!-- For client side text fetching -->
     79    <!-- For client side text fetching - do we even use this?? -->
    8080    <servlet>
    8181        <servlet-name>grabtext</servlet-name>
     
    8484    </servlet>
    8585
    86     <!-- See servlets.xml -->
     86        <servlet-mapping>
     87        <servlet-name>grabtext</servlet-name>
     88        <url-pattern>/grabtext</url-pattern>
     89    </servlet-mapping>
     90
     91    <!-- See servlets.xml - contains all the main greenstone servlets -->
    8792    &servlets-config;
    8893    &flax-config;
     
    112117    </servlet>
    113118
     119        <servlet-mapping>
     120        <servlet-name>oaiserver</servlet-name>
     121        <url-pattern>/oaiserver/*</url-pattern>
     122    </servlet-mapping>
     123
    114124    <!-- axis servlets -->
     125        <!--
    115126    <servlet>
    116127        <servlet-name>AxisServlet</servlet-name>
     
    121132    </servlet>
    122133
     134    <servlet-mapping>
     135        <servlet-name>AxisServlet</servlet-name>
     136        <url-pattern>/servlet/AxisServlet</url-pattern>
     137    </servlet-mapping>
     138
     139    <servlet-mapping>
     140        <servlet-name>AxisServlet</servlet-name>
     141        <url-pattern>*.jws</url-pattern>
     142    </servlet-mapping>
     143
     144    <servlet-mapping>
     145        <servlet-name>AxisServlet</servlet-name>
     146        <url-pattern>/services/*</url-pattern>
     147    </servlet-mapping>
     148
     149-->
     150
     151  <!-- uncomment this if you want the axis admin servlet -->
     152        <!--
    123153    <servlet>
    124154        <servlet-name>AdminServlet</servlet-name>
     
    130160    </servlet>
    131161
    132     <servlet>
     162          <servlet-mapping>
     163            <servlet-name>AdminServlet</servlet-name>
     164            <url-pattern>/servlet/AdminServlet</url-pattern>
     165          </servlet-mapping>
     166        -->
     167       
     168<!-- uncomment this if you want to use the SOAPMonitorService. You will also
     169  need to copy the SOAPMonitorApplet*.class files from
     170  gsdl3/comms/soap/axis/web/WEB-INF/classes to the gsdl3/web directory. See the
     171  comms/soap/axis/docs/install.html Appendix for details about how to use this -->
     172<!--
     173       <servlet>
    133174        <servlet-name>SOAPMonitorService</servlet-name>
    134175        <display-name>SOAPMonitorService</display-name>
     
    142183        <load-on-startup>100</load-on-startup>
    143184    </servlet>
    144    
    145    
     185
     186
     187        <servlet-mapping>
     188                <servlet-name>SOAPMonitorService</servlet-name>
     189                <url-pattern>/SOAPMonitor</url-pattern>
     190        </servlet-mapping>
     191
     192    -->
     193    <!-- Metadata Analysis tool-->
     194        <!--
    146195    <servlet>
    147196        <servlet-name>mat</servlet-name>
     
    150199    </servlet>
    151200
    152 
    153     <!-- Define mappings that are used by the servlet container to
    154          translate a particular request URI (context-relative) to a
    155          particular servlet. 
    156 
    157          You may define any number of servlet mappings, including zero.
    158          It is also legal to define more than one mapping for the same
    159          servlet, if you wish to.
    160     -->
    161    
    162     <servlet-mapping>
    163         <servlet-name>oaiserver</servlet-name>
    164         <url-pattern>/oaiserver</url-pattern>
    165     </servlet-mapping>
    166  
    167     <servlet-mapping>
    168         <servlet-name>grabtext</servlet-name>
    169         <url-pattern>/grabtext</url-pattern>
    170     </servlet-mapping>
    171  
    172     <!-- axis mappings -->
    173     <servlet-mapping>
    174         <servlet-name>AxisServlet</servlet-name>
    175         <url-pattern>/servlet/AxisServlet</url-pattern>
    176     </servlet-mapping>
    177 
    178     <servlet-mapping>
    179         <servlet-name>AxisServlet</servlet-name>
    180         <url-pattern>*.jws</url-pattern>
    181     </servlet-mapping>
    182 
    183     <servlet-mapping>
    184         <servlet-name>AxisServlet</servlet-name>
    185         <url-pattern>/services/*</url-pattern>
    186     </servlet-mapping>
    187    
    188201    <servlet-mapping>
    189202        <servlet-name>mat</servlet-name>
     
    191204    </servlet-mapping>
    192205
    193 
    194   <!-- uncomment this if you want to use the SOAPMonitorService. You will also
    195   need to copy the SOAPMonitorApplet*.class files from
    196   gsdl3/comms/soap/axis/web/WEB-INF/classes to the gsdl3/web directory. See the
    197   comms/soap/axis/docs/install.html Appendix for details about how to use this -->
    198   <!--
    199   <servlet-mapping>
    200     <servlet-name>SOAPMonitorService</servlet-name>
    201     <url-pattern>/SOAPMonitor</url-pattern>
    202   </servlet-mapping>
    203   -->
    204   <!-- uncomment this if you want the admin servlet -->
    205   <!--
    206   <servlet-mapping>
    207     <servlet-name>AdminServlet</servlet-name>
    208     <url-pattern>/servlet/AdminServlet</url-pattern>
    209   </servlet-mapping>
    210   -->
     206        -->
     207
    211208
    212209  <!-- Define the default session timeout for your application,
Note: See TracChangeset for help on using the changeset viewer.