Maybe you should consider the yahoo method, where they're using a dedicated sub-
domain.
For example:
    users.xyz.com

And I agree that the solution of depending on 404s is not a pretty solution.

Frans

> That seems kinda kludgy.  Try mapping all initial requests to a controlling servlet 
>that then obtains the userName from the pathinfo, validates it against the DB, and 
>forwards to the user's custom page..
>
> cheers
>
> ----------------------------------------
> Guys,
>
> We have a small requirement to paly the the URL....
>
> Basically there is a domain for example www.xyz.com
>
> and when someone types www.xyz.com/UserName (Username can be any user in the 
>Database) it should take him to a custom page which is customised for that particular 
>user. So I would go and type www.xyz.com/senthoor.
>
> The problem is normally it throws a 404 since this /senthoor is not mapped and what 
>we did was we cought the 404 and re-directed to a JSP and captured the URL extracted 
>the "UserName" validated against the DB and loaded the custom page....
>
> But this worked as specified in WebLogic but when we ported it to Oracle Application 
>Server it give a 500 error.
>
> I would like to know whether there exist any other solution for this except 
>capturing 404s and 500s. Basically since the username is growning in the Database 
>with members signing in we can't have servelet mapping to handle this too...
>
> Senthoor
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to