users@glassfish.java.net

Re: URL Rewriting

From: Wolfram Rittmeyer <w.rittmeyer_at_jsptutorial.org>
Date: Sat, 19 Jul 2008 09:10:29 +0200

Dru Devore wrote:
> I am having a problem, or it will become a problem soon.
>
> I am developing a new webtop type of application and need to be able to
> modify the url. I have searched and searched for information on how to
> do URL rewriting in GlassFish but have had absolutely no luck in finding
> what I am looking for.
>

You can use the URLRwrite-filter:

http://code.google.com/p/urlrewritefilter/
http://tuckey.org/urlrewrite/

It is comparable to mod_rewrite and can be used with any JEE-compliant
servlet container.


--
Wolfram Rittmeyer
> Basically I want this:
> 
> http://server.com/ddevore
> 
> To look like this
> 
> http://server.com/?name=ddevore
> 
> So please tell me how to do this as I am not an admin and need help......
> 
> 
>