Based on the popular and very useful mod_rewrite for apache, UrlRewriteFilter is a Java Web Filter for any J2EE compliant web application server (such as Resin, Orion or Tomcat), which allows you to rewrite URLs before they get to your code. It is a very powerful tool just like Apache's mod_rewrite.
General Tips for debugging UrlRewriteFilter:
Because every java web project is slightly different, debugging can be difficult. Try to:
- Turn on debug logging (see filter params in manual).
- Simplify the problem as much as possible. Perhaps make a new web application without other filters/servlets, try and replicate the problem there.
- Use an HTTP debugger (such as fiddler) to check that what you think is happening really is.
If you think you have found a bug:
- Read the source
- Write a unit test that proves the bug, this reduce the amount of time it will take to fix the bug.
- See issues list and add a new issue if necessary