UrlRewriterFilter 설치하기
http://tuckey.org/urlrewrite/manual/2.6/
1. 다운로드 또는 메이븐
<dependency>
<groupId>org.tuckey</groupId>
<artifactId>urlrewritefilter</artifactId>
<version>3.1.0</version>
</dependency>
2. web.xml에 필터 맵핑 추가하기
<filter>
<filter-name>UrlRewriteFilter</filter-name>
<filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>UrlRewriteFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
3. WEB-INF 폴더에 urlrewrite.xml 파일 만들기
4. 애플리케이션 재시작하고 http://127.0.0.1:8080/rewrite-status 확인하기