199 lines
5.1 KiB
XML
199 lines
5.1 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/*.jsp</url-pattern>
|
|
</filter-mapping>
|
|
|
|
<filter-mapping>
|
|
<filter-name>authentication</filter-name>
|
|
<url-pattern>/jsp/*.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>
|
|
<init-param>
|
|
<param-name>globalDataRefreshDelay</param-name>
|
|
<!--delay in minutes-->
|
|
<param-value>6</param-value>
|
|
</init-param>
|
|
<init-param>
|
|
<param-name>recentItems</param-name>
|
|
<!--number of recently modified terms to store in the global object-->
|
|
<param-value>6</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>/index.jsp</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-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>
|
|
|