-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

William,

On 9/13/2009 10:05 PM, WILLIAMer wrote:
> I think look up the url in database is not a Immediately way to me.
> Because most of item not have the "/" char in name.
> 
> My original url would like http://myDomain/getItemPage?itemName=xxx
> After the url rewrite rule,  url become http://myDomain/item_xxx.html 

This just really doesn't seem like a difficult thing to do at all.

All you're doing is re-writing /item_123.html to
/getItemPage?itemname=123 (whether it includes "extra" /s or not). This
should be trivially done with urlrewrite (http://tuckey.org/urlrewrite/).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkquUGcACgkQ9CaO5/Lv0PDfyACgoGveRwbmibDZwRRd80elHkcf
MXgAn2iNos+LAnFZSgERX5hc7D1ikGEV
=56AS
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to