Changeset 23781

Show
Ignore:
Timestamp:
15.03.2011 16:18:03 (8 years ago)
Author:
davidb
Message:

Updated web.xml file, referencing client-side text fetching servlet and new option (allow_client_side_xslt) to allow client-side XSLT to be explicitly turned on or off.

Files:
1 modified

Legend:

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

    r22676 r23781  
    99--> 
    1010<web-app> 
    11  
    1211 
    1312  <!-- General description of your web application --> 
     
    7776  </servlet> 
    7877   
     78  <!-- For client side text fetching --> 
     79  <servlet> 
     80    <servlet-name>grabtext</servlet-name> 
     81    <description>Grabs text for client-side display with minimal overhead.</description> 
     82    <servlet-class>org.greenstone.gsdl3.ClientSideServlet</servlet-class> 
     83  </servlet> 
     84   
    7985   
    8086   <servlet> 
     
    104110  </servlet> 
    105111 
    106   <servlet>^M 
    107     <servlet-name>Format</servlet-name>^M 
    108     <description>A new skin engine still in development based on the standard gsdl3 library program</description>^M 
    109     <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>^M 
    110     <init-param>^M 
    111       <param-name>library_name</param-name>^M 
    112       <param-value>format</param-value>^M 
    113     </init-param>^M 
    114     <init-param>^M 
    115       <param-name>site_name</param-name>^M 
    116       <param-value>localsite</param-value>^M 
    117     </init-param>^M 
    118     <init-param>^M 
    119       <param-name>interface_name</param-name>^M 
    120       <param-value>oran</param-value>^M 
    121     </init-param>^M 
    122     <init-param>^M 
    123       <param-name>receptionist_class</param-name>^M 
    124       <param-value>FormatReceptionist</param-value>^M 
    125     </init-param>^M 
    126     <init-param>^M 
    127       <param-name>default_lang</param-name>^M 
    128       <param-value>en</param-value>^M 
    129     </init-param>^M 
    130   </servlet>^M 
     112  <servlet> 
     113    <servlet-name>Format</servlet-name> 
     114    <description>A new skin engine still in development based on the standard gsdl3 library program</description> 
     115    <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class> 
     116    <init-param> 
     117      <param-name>library_name</param-name> 
     118      <param-value>format</param-value> 
     119    </init-param> 
     120    <init-param> 
     121      <param-name>site_name</param-name> 
     122      <param-value>localsite</param-value> 
     123    </init-param> 
     124    <init-param> 
     125      <param-name>interface_name</param-name> 
     126      <param-value>oran</param-value> 
     127    </init-param> 
     128    <init-param> 
     129      <param-name>receptionist_class</param-name> 
     130      <param-value>FormatReceptionist</param-value> 
     131    </init-param> 
     132    <init-param> 
     133      <param-name>default_lang</param-name> 
     134      <param-value>en</param-value> 
     135    </init-param> 
     136  </servlet> 
    131137 
    132138   
     
    233239      <param-value>en</param-value> 
    234240    </init-param> 
     241    <init-param> 
     242     <param-name>allow_client_side_xslt</param-name> 
     243     <param-value>true</param-value> 
     244    </init-param> 
    235245  </servlet> 
    236246 
     
    345355  </servlet-mapping> 
    346356 
    347   <servlet-mapping>^M 
    348     <servlet-name>Format</servlet-name>^M 
    349     <url-pattern>/format</url-pattern>^M 
    350   </servlet-mapping>^M 
     357  <servlet-mapping> 
     358    <servlet-name>Format</servlet-name> 
     359    <url-pattern>/format</url-pattern> 
     360  </servlet-mapping> 
    351361 
    352362  <servlet-mapping> 
     
    365375  </servlet-mapping> 
    366376 
     377    <servlet-mapping> 
     378        <servlet-name>grabtext</servlet-name> 
     379        <url-pattern>/grabtext</url-pattern> 
     380    </servlet-mapping> 
    367381   
    368382  <!-- axis mappings --> 
     
    419433    <mime-type>text/xml</mime-type> 
    420434  </mime-mapping> 
    421    
     435 
    422436</web-app> 
    423437