이지우 - web.xml 에러페이지 리다이렉트 설정에 400, 401, 403 유형 추가
@fab5bf3482d7ede30f5257c9117384c46aa84112
--- src/main/webapp/WEB-INF/web.xml
+++ src/main/webapp/WEB-INF/web.xml
... | ... | @@ -143,6 +143,18 @@ |
| 143 | 143 |
<location>/common/error.jsp</location> |
| 144 | 144 |
</error-page> |
| 145 | 145 |
<error-page> |
| 146 |
+ <error-code>400</error-code> |
|
| 147 |
+ <location>/common/error.jsp</location> |
|
| 148 |
+ </error-page> |
|
| 149 |
+ <error-page> |
|
| 150 |
+ <error-code>401</error-code> |
|
| 151 |
+ <location>/common/error.jsp</location> |
|
| 152 |
+ </error-page> |
|
| 153 |
+ <error-page> |
|
| 154 |
+ <error-code>403</error-code> |
|
| 155 |
+ <location>/common/error.jsp</location> |
|
| 156 |
+ </error-page> |
|
| 157 |
+ <error-page> |
|
| 146 | 158 |
<error-code>404</error-code> |
| 147 | 159 |
<location>/common/error.jsp</location> |
| 148 | 160 |
</error-page> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?