I have never implemented such a solution but I know a lot of sites have
similar setup. There are two ways you could do it, one would be to create a
directory for each company and then drop an index.jsp file in there . A
second and perhaps better solution would be to get the path info of the
request from javax.servlet.http.HttpServletRequest.getPathInfo().

so in essence whenever a request comes to your servlet, getPathInfo would
extract the part that has the company name. Google to get further info.

On 3/16/07, kace <[EMAIL PROTECTED]> wrote:


Hi fellas,

I am looking to develop the following and would be grateful if anyone can
offer any assistance as to how I can make it happen - what do i have to
read
up on etc.  ive developed my app in jsf/hibernate and spring and i have
this
still to work out.

I would like to give users access  from their own url e.g.
www.domain-name.com/~companyname which should be set automatically upon
registration (if that is possible).   Would be hosting on tomcat.

Any advice would be appreciated.

thanks
kace




--
View this message in context:
http://www.nabble.com/creating-user-url...-tf3417316.html#a9524122
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
"talk trash and carry a small stick."
PAUL KRUGMAN (NYT)

Reply via email to