correccion de configuracion para antiClickJackingOption se agrega...

correccion de configuracion para antiClickJackingOption se agrega configuracion para errores 404 y 500
parent 432fbaae
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="WebApp_ID" version="3.0">
<display-name>dla</display-name> <display-name>dla</display-name>
<!-- 1. Genericos del web.xml --> <!-- 1. Genericos del web.xml -->
...@@ -64,6 +67,11 @@ ...@@ -64,6 +67,11 @@
</init-param> </init-param>
</filter> </filter>
<filter-mapping>
<filter-name>httpHeaderSecurity</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- Session --> <!-- Session -->
<session-config> <session-config>
<session-timeout>3</session-timeout> <session-timeout>3</session-timeout>
...@@ -78,5 +86,17 @@ ...@@ -78,5 +86,17 @@
<taglib-location>/WEB-INF/tld/dlaFunctions.tld</taglib-location> <taglib-location>/WEB-INF/tld/dlaFunctions.tld</taglib-location>
</taglib> </taglib>
</jsp-config> </jsp-config>
<error-page> <exception-type>java.lang.Throwable</exception-type> <location>/jsp/errorGeneral.jsp</location> </error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/jsp/errorGeneral.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/jsp/errorGeneral.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/jsp/errorGeneral.jsp</location>
</error-page>
</web-app> </web-app>
\ No newline at end of file
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