hericles 289 Master Poster Featured Poster

Hey,
I'm trying to catch the incoming request to my Tomcat server and redirect to another page (a servlet). I don't have Apache installed so no mod_rewrite will work (as I understand it). I need to redirect the incoming request aimed at a standard URL http://www.somesite.com and send it to the localhost:80/someServlet

I installed urlrewritefilter and placed this text in the web.xml file

<filter>
  <filter-name>UrlRewriteFilter</filter-name>
  <filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
  <init-param>
    <param-name>confReloadCheckInterval</param-name>
    <param-value>1</param-value>
  </init-param>
  <init-param>
    <param-name>logLevel</param-name>
    <param-value>INFO</param-value>
  </init-param>
</filter>
<filter-mapping>
  <filter-name>UrlRewriteFilter</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>

And then in the urlrewrite.xml

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 3.2//EN"
        "http://tuckey.org/res/dtds/urlrewrite3.2.dtd">


<urlrewrite>

    <rule>
        <note>
            Catch incoming request and redirect to track/Track servlet
        </note>
        <from>www.gpsonline.co.nz</from>
        <to type="redirect">track/Track</to>
    </rule>
</urlrewrite>

There was also the jar file which I put into the lib folder in the same directory as urlrewrite.xml. But Tomcat simply stopped working. Any advice?

Thanks in advance,