I am designing a small J2EE web application (for example, the service name would be like http://www.mysite.com). It uses Glassfish. Spec: When a user sign up into the web application, he will get a custom URL like
http://mysite.com/username
instead of
http://mysite.com?username=username&userId=xxxx
things i know is,this a part of is a part of directory-level configuration,and in Appache this can be done by configuring .htaccess.
How can i accomplish this in my web application. I am still developing the app. i have not hosted it yet.
thanks
You can use PrettyFaces for URL rewriting in GlassFish: http://ocpsoft.com/prettyfaces/