tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@apache.org>
Subject Re: Is there a way to bake in URL parameters to a URL path?
Date Wed, 24 Aug 2011 15:55:27 GMT
While useful ... I would conjecture that things like this eventually undergo
feature creep and over time would turn into
http://www.tuckey.org/urlrewrite/


-Tim

On Wed, Aug 24, 2011 at 11:14 AM, Mattmann, Chris A (388J) <
chris.a.mattmann@jpl.nasa.gov> wrote:

> Thanks for your reply Chuck.
>
> It looks like you can do what I'm suggesting, but it's pretty complex. I'm
> also
> wondering why this isn't part of Tomcat proper. It would seem to be a very
> useful tool to include.
>
> An ALv2 licensed type of filter that does things like the URLRewrite
> Filter.
> Another thing too is that this filter seems to do a huge superset of what
> I'm actually looking for. I'm really just looking for something simple,
> with a
> limited config, something like:
>
> <url path="/fictionbooks"
>        origPath="/books">
>   <param name="category" value="fiction"/>
>   <param name="something else" value="${env.SOMEPROPERTY}"/>
> </url>
> ....
>
> I might just write a plugin that does that and contribute it back to the
> Apache Tomcat community. Would folks here find that useful?
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message