Changeset 16701


Ignore:
Timestamp:
2008-08-11T14:28:26+12:00 (13 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

Location:
greenstone3/trunk/web
Files:
2 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 
  • greenstone3/trunk/web/index.html

    r14813 r16701  
    2323<ul>   
    2424<li><a href="testing">Run the test servlet.</a>
    25 <li><a href="library">Run the standard library servlet.</a> View the demo collections that come with Greenstone, using
    26 the default look and feel.
    27 <li><a href="classic">Run the 'classic' servlet.</a> View the same collections using the 'classic' (or Greenstone 2)
    28 look and feel.
    29 <li><a href="gateway">Run the gateway servlet.</a> This uses the standard look and feel, and talks via SOAP to the site
    30 with demo collections (localsite).
     25<li><a href="library">Run the default library servlet.</a> View the demo collections that come with Greenstone, using the Greenstone 2 look and feel.
     26<li><a href="gs3library">Run the 'standard' servlet.</a> View the same collections using the standard Greenstone 3 look and feel
     27<li><a href="gateway">Run the gateway servlet.</a> This uses the standard Greenstone 3 look and feel, and talks via SOAP to the site with the demo collections (localsite).
    3128<ul>
    3229<li>Note that SOAP needs to be installed, and a SOAP server needs to be running for localsite.
Note: See TracChangeset for help on using the changeset viewer.