<error-page>

<location>/error<location>

</error-page>


추가할 때 에러나면


<?xml version="1.0" encoding="UTF-8"?>

<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">


에서 2.5 부분을 모두 3.0으로 바꾸면 된다.

Posted by 타다키치
,