This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Url name changing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Url name changing" Watch "Url name changing" New topic

Url name changing

Jahar Heard

Joined: Jan 09, 2010
Posts: 20

I want to ask you haw this is done ..
Ok so, how to do that.When the user login to show the browser url like (login/"the name of the user"), how to do that ? Login is not a folder, it's a simple servlet with login .
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63208

Likely a combination of servlet mapping and grabbing path information. When dealing with servlets, the URL hardly ever corresponds to physical folders.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jahar Heard

Joined: Jan 09, 2010
Posts: 20
Have you checked out Aspose?
subject: Url name changing
It's not a secret anymore!