It should work, since it claims to be the JSP equivalent of mod_rewrite. Also, if you want to redirect http://site/a/index.html
to http://a.site/index.html
, you could use HTTP redirection, or just a simple
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html">