---
title: "UrlRewriteFilter"
author: "zwt2001267"
date: "2012-09-03T15:08:33Z"
tags: []
categories: ["Web前端"]
slug: "urlrewritefilter"
draft: false
lastmod: "2012-09-03T15:08:55Z"
id: 1670498
url: "https://hbzwt.iteye.com/blog/1670498"
---

# UrlRewriteFilter

A Java Web Filter for any compliant web application servers (such as [Tomcat](http://tomcat.apache.org/), [JBoss](http://jboss.org/),[Jetty](http://jetty.codehaus.org/jetty/) or [Resin](http://caucho.com/)), which allows you to rewrite URLs before they get to your code. It is a very powerful tool just like Apache's [mod\_rewrite](http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html).