-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Very nice! Thanks for pointing that out.
Peter
On Jul 3, 2008, at 3:27 AM, Peter Kiraly wrote:
> There are some implementation of mod_rewrite for Java.
> I personally use UrlRewriteFilter, which "is a Java Web Filter
> for any J2EE compliant web application server (such as Resin,
> Orion or Tomcat), which allows you to rewrite URLs before
> they get to your code."
> All what you should do is adding a jar and editing an xml file.
> In your example the snippet would be like this:
>
> <rule>
> <from>/record/([^\/]+)$</from>
> <to>/record?id=$1</to>
> </rule>
>
> You can finde more info in this site:
>
> http://tuckey.org/urlrewrite/
>
- --
Peter Murray http://www.pandc.org/peter/work/
Assistant Director, New Service Development tel:+1-614-728-3600;ext=338
OhioLINK: the Ohio Library and Information Network Columbus, Ohio
The Disruptive Library Technology Jester http://dltj.org/
Attrib-Noncomm-Share http://creativecommons.org/licenses/by-nc-sa/2.5/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFIbMtV4+t4qSfPIHIRAkbCAKCQ4NuyX1rjJoqqQLpr+OStVO4kGACgumwY
kRv4bVz54+ytuG+2MxI632c=
=n5Ch
-----END PGP SIGNATURE-----
|