----- Original Message -----
From: "Ognjen Blagojevic" <ognjen.d.blagoje...@gmail.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Friday, September 03, 2010 6:42 AM
Subject: Re: URL Rewrite
On 3.9.2010 12:02, michel wrote:
I have been using the tuckey urlrewrite with some results, in that if I
want to have an incoming URL coming in as
gallery/pic20 gets changed to gallery.jsp?pic=20
But the tool bar URL gets displayed as gallery.jsp?pic=20
and I want to display gallery/pic20
Just use rule, not outbond-rule:
<rule>
<from>/gallery/pic([0-9]+)</from>
<to>/gallery.jsp?pic=$1</to>
</rule>
Thanks, and I have it working at times (worked all day on this) but it seems
unreliable. I am expecting that the very same code would work if I had
'forward' or 'redirect', but it doesn't.
Michel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org