Changeset 15067


Ignore:
Timestamp:
2008-03-07T13:14:43+13:00 (14 years ago)
Author:
oranfry
Message:

reversing an accidental change

File:
1 edited

Legend:

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

    r15036 r15067  
    99-->
    1010<web-app>
     11
     12
    1113  <!-- General description of your web application -->
    12   <display-name>Flax</display-name>
     14 
     15  <display-name>GSDL3</display-name>
    1316  <description>
    14     Flaxible Language Acquisition Project version 1.0
    15   </description> 
     17    Greenstone digital library version 3.
     18  </description>
     19 
     20 
    1621  <!-- Context initialization parameters that define shared
    1722  String constants used within your application, which
     
    4045  </context-param>
    4146 
     47
    4248  <!-- Servlet definitions for the servlets that make up
    4349  your web application, including initialization
     
    6470  You can define any number of servlets, including zero.
    6571  -->
    66   <servlet>
    67     <servlet-name>flax</servlet-name>
    68     <description></description>
    69     <servlet-class>org.greenstone.gsdl3.flax.FlaxServlet</servlet-class>
     72
     73  <servlet>
     74    <servlet-name>tester</servlet-name>
     75    <description>a test servlet</description>
     76    <servlet-class>TestServlet</servlet-class>
     77  </servlet>
     78 
     79  <servlet>
     80    <servlet-name>library</servlet-name>
     81    <description>standard gsdl3 library program: uses localsite and the default interface</description>
     82    <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
    7083    <init-param>
    7184      <param-name>library_name</param-name>
    72       <param-value>flax</param-value>
     85      <param-value>library</param-value>
    7386    </init-param>
    7487    <init-param>
    7588      <param-name>site_name</param-name>
    76       <param-value>flax</param-value>
     89      <param-value>localsite</param-value>
    7790    </init-param>
    7891    <init-param>
    7992      <param-name>interface_name</param-name>
    80       <param-value>flax</param-value>
     93      <param-value>classic</param-value>
    8194    </init-param>
    8295    <init-param>
     
    88101      <param-value>1800</param-value>
    89102    </init-param>
    90   </servlet> 
     103  </servlet>
     104  <servlet>
     105    <servlet-name>gateway</servlet-name>
     106    <description>gsdl3 library based on gateway site and default interface. It uses SOAP to talk to localsite</description>
     107    <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
     108    <init-param>
     109      <param-name>library_name</param-name>
     110      <param-value>gateway</param-value>
     111    </init-param>
     112    <init-param>
     113      <param-name>site_name</param-name>
     114      <param-value>gateway</param-value>
     115    </init-param>
     116    <init-param>
     117      <param-name>interface_name</param-name>
     118      <param-value>default</param-value>
     119    </init-param>
     120    <init-param>
     121      <param-name>default_lang</param-name>
     122      <param-value>en</param-value>
     123    </init-param>
     124  </servlet>
     125 
     126  <servlet>
     127    <servlet-name>classic-library</servlet-name>
     128    <description>Greenstone 2 lookalike library program: uses localsite with the classic interface</description>
     129    <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
     130    <init-param>
     131      <param-name>library_name</param-name>
     132      <param-value>classic</param-value>
     133    </init-param>
     134    <init-param>
     135      <param-name>site_name</param-name>
     136      <param-value>localsite</param-value>
     137    </init-param>
     138    <init-param>
     139      <param-name>interface_name</param-name>
     140      <param-value>classic</param-value>
     141    </init-param>
     142    <init-param>
     143      <param-name>default_lang</param-name>
     144      <param-value>en</param-value>
     145    </init-param>
     146    <init-param>
     147      <param-name>params_class</param-name>
     148      <param-value>NZDLParams</param-value>
     149    </init-param>
     150  </servlet>
     151
     152  <!-- axis servlets -->
     153  <servlet>
     154    <servlet-name>AxisServlet</servlet-name>
     155    <display-name>Apache-Axis Servlet</display-name>
     156    <servlet-class>
     157        org.apache.axis.transport.http.AxisServlet
     158    </servlet-class>
     159  </servlet>
     160
     161  <servlet>
     162    <servlet-name>AdminServlet</servlet-name>
     163    <display-name>Axis Admin Servlet</display-name>
     164    <servlet-class>
     165        org.apache.axis.transport.http.AdminServlet
     166    </servlet-class>
     167    <load-on-startup>100</load-on-startup>
     168  </servlet>
     169
     170  <servlet>
     171    <servlet-name>SOAPMonitorService</servlet-name>
     172    <display-name>SOAPMonitorService</display-name>
     173    <servlet-class>
     174        org.apache.axis.monitor.SOAPMonitorService
     175    </servlet-class>
     176    <init-param>
     177      <param-name>SOAPMonitorPort</param-name>
     178      <param-value>5001</param-value>
     179    </init-param>
     180    <load-on-startup>100</load-on-startup>
     181  </servlet>
     182<servlet>
     183         <servlet-name>oaiserver</servlet-name>
     184     <description>an oai servlet</description>
     185         <servlet-class>org.greenstone.gsdl3.OAIServer</servlet-class>
     186         <init-param>
     187           <param-name>default_lang</param-name>
     188           <param-value>en</param-value>
     189         </init-param>
     190         <init-param>
     191           <param-name>site_name</param-name>
     192           <!-- More than one site name can be specified using the comma separation style: localsite1,localsite2 -->
     193           <param-value>localsite</param-value>
     194         </init-param>
     195</servlet>
     196<!--
     197--> 
    91198    <!-- Define mappings that are used by the servlet container to
    92199         translate a particular request URI (context-relative) to a
     
    108215         servlet, if you wish to.
    109216    -->
     217    <!--
     218   
     219    <servlet-mapping>
     220      <servlet-name>controller</servlet-name>
     221      <url-pattern>*.do</url-pattern>
     222    </servlet-mapping>
     223
     224    <servlet-mapping>
     225      <servlet-name>graph</servlet-name>
     226      <url-pattern>/graph</url-pattern>
     227    </servlet-mapping>
     228    -->
     229   
     230
    110231<servlet-mapping>
    111       <servlet-name>flax</servlet-name>
    112       <url-pattern>/flax</url-pattern>
     232      <servlet-name>oaiserver</servlet-name>
     233      <url-pattern>/oaiserver</url-pattern>
    113234</servlet-mapping>
    114235
    115 <!--********servlets/mappings used by the Flax web service (especially the first one - copied from packages/axis/webapps/axis/WEB-INF/web.xml ****-->
    116   <servlet>
    117     <servlet-name>AxisServlet</servlet-name>
    118     <display-name>Apache-Axis Servlet</display-name>
    119     <servlet-class>
    120         org.apache.axis.transport.http.AxisServlet
    121     </servlet-class>
    122   </servlet>
    123   <servlet>
    124     <servlet-name>AdminServlet</servlet-name>
    125     <display-name>Axis Admin Servlet</display-name>
    126     <servlet-class>
    127         org.apache.axis.transport.http.AdminServlet
    128     </servlet-class>
    129     <load-on-startup>100</load-on-startup>
    130   </servlet>
    131   <servlet>
    132     <servlet-name>SOAPMonitorService</servlet-name>
    133     <display-name>SOAPMonitorService</display-name>
    134     <servlet-class>
    135         org.apache.axis.monitor.SOAPMonitorService
    136     </servlet-class>
    137     <init-param>
    138       <param-name>SOAPMonitorPort</param-name>
    139       <param-value>5001</param-value>
    140     </init-param>
    141     <load-on-startup>100</load-on-startup>
    142   </servlet>
     236  <servlet-mapping>
     237    <servlet-name>tester</servlet-name>
     238    <url-pattern>/testing</url-pattern>
     239  </servlet-mapping>
     240 
     241  <servlet-mapping>
     242    <servlet-name>library</servlet-name>
     243    <url-pattern>/library</url-pattern>
     244  </servlet-mapping>
     245 
     246  <servlet-mapping>
     247    <servlet-name>gateway</servlet-name>
     248    <url-pattern>/gateway</url-pattern>
     249  </servlet-mapping>
     250 
     251  <servlet-mapping>
     252    <servlet-name>classic-library</servlet-name>
     253    <url-pattern>/classic</url-pattern>
     254  </servlet-mapping>
     255 
     256  <!-- axis mappings -->
    143257  <servlet-mapping>
    144258    <servlet-name>AxisServlet</servlet-name>
    145259    <url-pattern>/servlet/AxisServlet</url-pattern>
    146260  </servlet-mapping>
     261
    147262  <servlet-mapping>
    148263    <servlet-name>AxisServlet</servlet-name>
    149264    <url-pattern>*.jws</url-pattern>
    150265  </servlet-mapping>
     266
    151267  <servlet-mapping>
    152268    <servlet-name>AxisServlet</servlet-name>
    153269    <url-pattern>/services/*</url-pattern>
    154270  </servlet-mapping>
     271
     272  <!-- uncomment this if you want to use the SOAPMonitorService. You will also
     273  need to copy the SOAPMonitorApplet*.class files from
     274  gsdl3/comms/soap/axis/web/WEB-INF/classes to the gsdl3/web directory. See the
     275  comms/soap/axis/docs/install.html Appendix for details about how to use this -->
     276  <!--
    155277  <servlet-mapping>
    156278    <servlet-name>SOAPMonitorService</servlet-name>
    157279    <url-pattern>/SOAPMonitor</url-pattern>
    158280  </servlet-mapping>
    159  
    160   <servlet-mapping>
    161     <servlet-name>AxisServlet</servlet-name>
    162     <url-pattern>/flax/*</url-pattern>
    163   </servlet-mapping>
    164   <!--********end of Servlet mappings used by Flax web service ***************************-->
    165  
     281  -->
     282  <!-- uncomment this if you want the admin servlet -->
     283  <!--
     284  <servlet-mapping>
     285    <servlet-name>AdminServlet</servlet-name>
     286    <url-pattern>/servlet/AdminServlet</url-pattern>
     287  </servlet-mapping>
     288  -->
     289
    166290  <!-- Define the default session timeout for your application,
    167291  in minutes.  From a servlet or JSP page, you can modify
Note: See TracChangeset for help on using the changeset viewer.