Ignore:
Timestamp:
2008-08-11T14:28:26+12:00 (16 years ago)
Author:
kjdon
Message:

tidied up the servlets - both were using classic interface. now have library using classic, and gs3library using default interface. modified index.html to reflect these changes

File:
1 edited

Legend:

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

    r16319 r16701  
    106106  <servlet>
    107107    <servlet-name>library</servlet-name>
    108     <description>standard gsdl3 library program: uses localsite and the default interface</description>
     108    <description>Greenstone 2 lookalike library program: uses localsite with the classic interface</description>
    109109    <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
    110110    <init-param>
     
    127127      <param-name>session_expiration</param-name>
    128128      <param-value>1800</param-value>
     129    </init-param>
     130    <init-param>
     131      <param-name>params_class</param-name>
     132      <param-value>NZDLParams</param-value>
    129133    </init-param>
    130134  </servlet>
     
    153157 
    154158  <servlet>
    155     <servlet-name>classic-library</servlet-name>
    156     <description>Greenstone 2 lookalike library program: uses localsite with the classic interface</description>
     159    <servlet-name>default-library</servlet-name>
     160    <description>standard gsdl3 library program: uses localsite and the default interface</description>
    157161    <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
    158162    <init-param>
    159163      <param-name>library_name</param-name>
    160       <param-value>classic</param-value>
     164      <param-value>gs3library</param-value>
    161165    </init-param>
    162166    <init-param>
     
    166170    <init-param>
    167171      <param-name>interface_name</param-name>
    168       <param-value>classic</param-value>
     172      <param-value>default</param-value>
    169173    </init-param>
    170174    <init-param>
    171175      <param-name>default_lang</param-name>
    172176      <param-value>en</param-value>
    173     </init-param>
    174     <init-param>
    175       <param-name>params_class</param-name>
    176       <param-value>NZDLParams</param-value>
    177177    </init-param>
    178178  </servlet>
     
    283283 
    284284  <servlet-mapping>
    285     <servlet-name>classic-library</servlet-name>
    286     <url-pattern>/classic</url-pattern>
     285    <servlet-name>default-library</servlet-name>
     286    <url-pattern>/gs3library</url-pattern>
    287287  </servlet-mapping>
    288288 
Note: See TracChangeset for help on using the changeset viewer.