222 lines
5.8 KiB
XML
222 lines
5.8 KiB
XML
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||
|
|
||
|
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
|
||
|
|
||
|
<web-app>
|
||
|
|
||
|
<display-name>Lex</display-name>
|
||
|
|
||
|
<!--FILTERS-->
|
||
|
<filter>
|
||
|
<filter-name>authentication</filter-name>
|
||
|
<filter-class>org.thdl.lex.AuthenticationFilter</filter-class>
|
||
|
<init-param>
|
||
|
<param-name>loginPage</param-name>
|
||
|
<param-value>/login.jsp</param-value>
|
||
|
</init-param>
|
||
|
</filter>
|
||
|
|
||
|
<filter>
|
||
|
<filter-name>guest</filter-name>
|
||
|
<filter-class>org.thdl.lex.GuestFilter</filter-class>
|
||
|
</filter>
|
||
|
|
||
|
<filter>
|
||
|
<filter-name>charEnc</filter-name>
|
||
|
<filter-class>org.thdl.lex.CharEncFilter</filter-class>
|
||
|
</filter>
|
||
|
|
||
|
<filter>
|
||
|
<filter-name>component</filter-name>
|
||
|
<filter-class>org.thdl.lex.LexComponentFilter</filter-class>
|
||
|
</filter>
|
||
|
|
||
|
<filter-mapping>
|
||
|
<filter-name>charEnc</filter-name>
|
||
|
<url-pattern>/action</url-pattern>
|
||
|
</filter-mapping>
|
||
|
|
||
|
<filter-mapping>
|
||
|
<filter-name>authentication</filter-name>
|
||
|
<url-pattern>/action</url-pattern>
|
||
|
</filter-mapping>
|
||
|
|
||
|
<!--filter-mapping>
|
||
|
<filter-name>authentication</filter-name>
|
||
|
<url-pattern>*.jsp</url-pattern>
|
||
|
</filter-mapping>
|
||
|
|
||
|
<filter-mapping>
|
||
|
<filter-name>authentication</filter-name>
|
||
|
<url-pattern>*.jsf</url-pattern>
|
||
|
</filter-mapping-->
|
||
|
|
||
|
<filter-mapping>
|
||
|
<filter-name>guest</filter-name>
|
||
|
<url-pattern>/public</url-pattern>
|
||
|
</filter-mapping>
|
||
|
|
||
|
<filter-mapping>
|
||
|
<filter-name>component</filter-name>
|
||
|
<url-pattern>/action</url-pattern>
|
||
|
</filter-mapping>
|
||
|
|
||
|
<filter-mapping>
|
||
|
<filter-name>component</filter-name>
|
||
|
<url-pattern>/public</url-pattern>
|
||
|
</filter-mapping>
|
||
|
|
||
|
<!-- <listener>
|
||
|
<listener-class>org.thdl.lex.LoginSessionListener</listener-class>
|
||
|
</listener> -->
|
||
|
|
||
|
<!--SERVLETS-->
|
||
|
<servlet>
|
||
|
<servlet-name>action</servlet-name>
|
||
|
<servlet-class>org.thdl.lex.LexActionServlet</servlet-class>
|
||
|
|
||
|
<!--These init parameter provide configuration info for the Global object that stores recently modified terms.-->
|
||
|
<init-param>
|
||
|
<param-name>globalDataRefreshDelay</param-name>
|
||
|
<param-value>6</param-value><!--delay in seconds-->
|
||
|
</init-param>
|
||
|
<init-param>
|
||
|
<param-name>recentItems</param-name><!--number of recently modified terms -->
|
||
|
<param-value>6</param-value>
|
||
|
</init-param>
|
||
|
|
||
|
<!--These init parameter provide configuration info for the OAI Metadata Harvesting of Bibliographical entries-->
|
||
|
<init-param>
|
||
|
<param-name>oaiServer</param-name>
|
||
|
<param-value>http://datastore.lib.virginia.edu/tibet/spt/SPT--OAI.php</param-value>
|
||
|
</init-param>
|
||
|
<init-param>
|
||
|
<param-name>oaiMetadataPrefix</param-name>
|
||
|
<param-value>oai_dc</param-value>
|
||
|
</init-param>
|
||
|
<init-param>
|
||
|
<param-name>oaiHome</param-name>
|
||
|
<param-value>/Users/travis/webapps/oai-sources</param-value>
|
||
|
</init-param>
|
||
|
<init-param>
|
||
|
<param-name>oaiLocalCopy</param-name>
|
||
|
<param-value>Thdl_Oai_Bibliography_Sources.xml</param-value>
|
||
|
</init-param>
|
||
|
<init-param>
|
||
|
<param-name>oaiRefreshDelay</param-name><!--Hours between total refresh of sources-->
|
||
|
<param-value>24</param-value>
|
||
|
</init-param>
|
||
|
</servlet>
|
||
|
|
||
|
<servlet>
|
||
|
<servlet-name>login</servlet-name>
|
||
|
<servlet-class>org.thdl.lex.LoginServlet</servlet-class>
|
||
|
|
||
|
<init-param>
|
||
|
<param-name>loginPage</param-name>
|
||
|
<param-value>/login.jsp</param-value>
|
||
|
</init-param>
|
||
|
<init-param>
|
||
|
<param-name>welcomePage</param-name>
|
||
|
<param-value>/jsp/menu.jsp</param-value>
|
||
|
</init-param>
|
||
|
</servlet>
|
||
|
|
||
|
<servlet>
|
||
|
<servlet-name>logout</servlet-name>
|
||
|
<servlet-class>org.thdl.lex.LogoutServlet</servlet-class>
|
||
|
<init-param>
|
||
|
<param-name>goodbyePage</param-name>
|
||
|
<param-value>http://iris.lib.virginia.edu/tibet/reference/dictionary.html</param-value>
|
||
|
</init-param>
|
||
|
</servlet>
|
||
|
|
||
|
<servlet>
|
||
|
<servlet-name>test</servlet-name>
|
||
|
<servlet-class>org.thdl.lex.HibernateTestServlet</servlet-class>
|
||
|
</servlet>
|
||
|
|
||
|
<!--SERVLET MAPPPINGS-->
|
||
|
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>action</servlet-name>
|
||
|
<url-pattern>/action</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>action</servlet-name>
|
||
|
<url-pattern>/public</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>login</servlet-name>
|
||
|
<url-pattern>/login</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>logout</servlet-name>
|
||
|
<url-pattern>/logout</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>test</servlet-name>
|
||
|
<url-pattern>/test</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
<!--TAGLIBS-->
|
||
|
|
||
|
<!--RELEASE TAGLIBS
|
||
|
<taglib>
|
||
|
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
|
||
|
<taglib-location>/WEB-INF/lib/c.tld</taglib-location>
|
||
|
</taglib>
|
||
|
|
||
|
<taglib>
|
||
|
<taglib-uri>http://jakarta.apache.org/taglibs/request-1.0</taglib-uri>
|
||
|
<taglib-location>/WEB-INF/lib/request.tld</taglib-location>
|
||
|
</taglib>
|
||
|
|
||
|
<taglib>
|
||
|
<taglib-uri>http://jakarta.apache.org/taglibs/session-1.0</taglib-uri>
|
||
|
<taglib-location>/WEB-INF/lib/session.tld</taglib-location>
|
||
|
</taglib>-->
|
||
|
|
||
|
<!--NIGHTLY TAGLIBS-->
|
||
|
<taglib>
|
||
|
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
|
||
|
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
|
||
|
</taglib>
|
||
|
|
||
|
<!--taglib>
|
||
|
<taglib-uri>http://java.sun.com/jstl/core_rt</taglib-uri>
|
||
|
<taglib-location>/WEB-INF/tld/c-1_0-rt.tld</taglib-location>
|
||
|
</taglib-->
|
||
|
|
||
|
<taglib>
|
||
|
<taglib-uri>http://jakarta.apache.org/taglibs/request-1.0</taglib-uri>
|
||
|
<taglib-location>/WEB-INF/tld/taglibs-request.tld</taglib-location>
|
||
|
</taglib>
|
||
|
|
||
|
<taglib>
|
||
|
<taglib-uri>http://jakarta.apache.org/taglibs/response-1.0</taglib-uri>
|
||
|
<taglib-location>/WEB-INF/tld/taglibs-response.tld</taglib-location>
|
||
|
</taglib>
|
||
|
|
||
|
<taglib>
|
||
|
<taglib-uri>http://jakarta.apache.org/taglibs/session-1.0</taglib-uri>
|
||
|
<taglib-location>/WEB-INF/tld/taglibs-session.tld</taglib-location>
|
||
|
</taglib>
|
||
|
|
||
|
<taglib>
|
||
|
<taglib-uri>http://jakarta.apache.org/taglibs/input-1.0</taglib-uri>
|
||
|
<taglib-location>/WEB-INF/tld/taglibs-input.tld</taglib-location>
|
||
|
</taglib>
|
||
|
|
||
|
<taglib>
|
||
|
<taglib-uri>http://jakarta.apache.org/taglibs/string-1.0</taglib-uri>
|
||
|
<taglib-location>/WEB-INF/tld/taglibs-string.tld</taglib-location>
|
||
|
</taglib>
|
||
|
|
||
|
</web-app>
|
||
|
|