Commit d0472b18 by Billy Larru

filtros para servlets

parent ff497ee3
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
<filter>
<filter-name>RequestsFilter</filter-name>
<filter-class>asistencia.filters.RequestsFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>RequestsFilter</filter-name>
<url-pattern>/servlet/*</url-pattern>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>InterceptarRedireccionServlet</servlet-name>
<servlet-class>asistencia.servlets.InterceptarRedireccionServlet</servlet-class>
......@@ -32,13 +41,10 @@
<servlet-name>RedireccionarServlet</servlet-name>
<url-pattern>/vistas/redireccionarServlet</url-pattern>
</servlet-mapping>
<error-page>
<error-code>404</error-code>
<location>/vistas/error/error.jsp</location>
</error-page>
<session-config>
<session-timeout>
30
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment