<servlet>

  <!-- !!!! -->
  <!-- DO NOT EDIT web/WEB-INF/servlets-aux.xml!!! -->
  <!-- It is automatically generated from resources/web/servlets-aux.xml.in, 
       so edit that file instead -->
  <!-- !!!! -->	
 
  <!-- the oai servlet. You can add multiple oai servlets by copying
     the description and changing site_name, library_name and servlet_url params.
     Remember to add the servlet-mapping here and the corresponding servlet_url
     into build.properties oai.servlets param -->

        <servlet-name>oaiserver</servlet-name>
	<description>the default oai servlet</description>
	<servlet-class>org.greenstone.gsdl3.servlet.OAIServlet</servlet-class>
	<init-param>
		<param-name>default_lang</param-name>
		<param-value>en</param-value>
	</init-param>
	<init-param>
		<param-name>site_name</param-name>
		<param-value>localsite</param-value>
		<description>The site that this oai servlet is based on</description>
	</init-param>
	<init-param>
	        <param-name>library_name</param-name>
	        <param-value>library</param-value>
	        <description>Which library servlet will be used to serve up links to the documents</description>
	</init-param>
	<init-param>
		<param-name>servlet_url</param-name>
		<param-value>oaiserver</param-value>
		<description>the servlet url pattern, must correspond to the mapping below</description>
	</init-param>
</servlet>

<servlet-mapping>
	<servlet-name>oaiserver</servlet-name>
	<url-pattern>/oaiserver/*</url-pattern>
</servlet-mapping>


<!-- For client side text fetching. The basic interface uses this
 alongside its use-client-side-xslt option-->
<servlet>
  <servlet-name>grabtext</servlet-name>
  <description>Grabs text for client-side display with minimal overhead.</description>
  <servlet-class>org.greenstone.gsdl3.servlet.ClientSideServlet</servlet-class>
</servlet>

<servlet-mapping>
  <servlet-name>grabtext</servlet-name>
  <url-pattern>/grabtext</url-pattern>
</servlet-mapping>

