Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Asistencia
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Billy Larru
Asistencia
Commits
d0472b18
Commit
d0472b18
authored
6 years ago
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
filtros para servlets
parent
ff497ee3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
RequestFilter.java
src/main/java/asistencia/filters/RequestFilter.java
+0
-0
RequestsFilter.java
src/main/java/asistencia/filters/RequestsFilter.java
+0
-0
web.xml
src/main/webapp/WEB-INF/web.xml
+9
-3
No files found.
src/main/java/asistencia/filters/RequestFilter.java
View file @
d0472b18
This diff is collapsed.
Click to expand it.
src/main/java/asistencia/filters/RequestsFilter.java
0 → 100644
View file @
d0472b18
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/web.xml
View file @
d0472b18
<?xml version="1.0" encoding="UTF-8"?>
<?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"
>
<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>
<servlet-name>
InterceptarRedireccionServlet
</servlet-name>
<servlet-name>
InterceptarRedireccionServlet
</servlet-name>
<servlet-class>
asistencia.servlets.InterceptarRedireccionServlet
</servlet-class>
<servlet-class>
asistencia.servlets.InterceptarRedireccionServlet
</servlet-class>
...
@@ -32,13 +41,10 @@
...
@@ -32,13 +41,10 @@
<servlet-name>
RedireccionarServlet
</servlet-name>
<servlet-name>
RedireccionarServlet
</servlet-name>
<url-pattern>
/vistas/redireccionarServlet
</url-pattern>
<url-pattern>
/vistas/redireccionarServlet
</url-pattern>
</servlet-mapping>
</servlet-mapping>
<error-page>
<error-page>
<error-code>
404
</error-code>
<error-code>
404
</error-code>
<location>
/vistas/error/error.jsp
</location>
<location>
/vistas/error/error.jsp
</location>
</error-page>
</error-page>
<session-config>
<session-config>
<session-timeout>
<session-timeout>
30
30
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment