aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Url name changing" Watch "Url name changing" New topic
Author

Url name changing

Jahar Heard
Greenhorn

Joined: Jan 09, 2010
Posts: 20
Hi!

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
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

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
Greenhorn

Joined: Jan 09, 2010
Posts: 20
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Url name changing
 
Similar Threads
FORM-BASED setup problem: Login.jsp cannot be rendered!!!
How to make Database Connection reading the 'tnsnames.ora' file ?
getting the user name in windows NT
login servlet
Single login for a Particular url