[thelist] ugly url fix in JSP

Dan McCullough dan.mccullough at gmail.com
Fri Mar 25 09:05:57 CST 2005


I also tried doing it this way. but none of these seemed to work.

none of these work
RewriteRule ^category/([0-9][0-9]) /([0-9][0-9])/$ category.jsp?catid=$1&type=$2
RewriteRule ^subcategory/([0-9][0-9])/$/([0-9][0-9])/$
subcategory.jsp?catid=$1&type=$2
RewriteRule ^product/([0-9][0-9])/$/([0-9][0-9])/$/([0-9][0-9])/$
product.jsp?catid=$1&type=$2&prodid=$3


On Wed, 23 Mar 2005 12:53:06 -0500, Dan McCullough
<dan.mccullough at gmail.com> wrote:
> Looks good!
> Thanks
> 
> 
> On Wed, 23 Mar 2005 12:29:18 -0500, Matt Warden <mwarden at gmail.com> wrote:
> > On Wed, 23 Mar 2005 12:08:16 -0500, Dan McCullough
> > <dan.mccullough at gmail.com> wrote:
> > > Tomcat 5.0 with mod_jk2
> > >
> >
> > Dan,
> >
> > Since you're using a version of Tomcat >= 4, you can use a filter for
> > this purpose.
> >
> > Also maybe take a look at the following, although I have not used it
> > with Tomcat:
> >
> > http://tuckey.org/urlrewrite/
> >
> >
> > > > What servlet container are you using?
> >
> > --
> > Matt Warden
> > Miami University
> > Oxford, OH, USA
> > http://mattwarden.com
> >
> > This email proudly and graciously contributes to entropy.
> > --
> >
> > * * Please support the community that supports you.  * *
> > http://evolt.org/help_support_evolt/
> >
> > For unsubscribe and other options, including the Tip Harvester
> > and archives of thelist go to: http://lists.evolt.org
> > Workers of the Web, evolt !
> >
>


More information about the thelist mailing list