The urlrewrite component's urlrewrite.xml can map the 'tides/nnnnnnn' URL to a pipeline:
<rule> <condition type="method">GET</condition> <from>^/tides/(.+)</from> <to>/request.pd?location=$1</to> </rule>
And we'll change the web.xml to invoke that component:
<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>60</param-value> </init-param> </filter> <filter-mapping> <filter-name>UrlRewriteFilter</filter-name> <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> </filter-mapping>
Keep in mind you need to copy the supporting jar files into 'WEB-INF/lib'.