my dog learned polymorphism
The moose likes Tomcat and the fly likes How to change localhost with myAppliaction in the URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to change localhost with myAppliaction in the URL" Watch "How to change localhost with myAppliaction in the URL" New topic
Author

How to change localhost with myAppliaction in the URL

Gaurav Chhabras
Ranch Hand

Joined: Sep 21, 2005
Posts: 126
Hi

I have changed the port to 80 from 8080, successfully, now what i want is that like instead of writting -:

http://localhost/abc , i will write-:

http://myApplication/abc , that what i want is in place of

writting "localhost" i have to write "myApplication" and it will work as like as it works normally with localhost.
Anupam Bhatt
Ranch Hand

Joined: Mar 12, 2004
Posts: 81
Well i may be wrong.
but as far as my knowledge goes "localhost" or any other name denotes the servername, and hence it HAS to be the server name and nothing else. Should be either "localhost" or letz say "gaurav" if the server is named as "gaurav".

Anybody please correct me if i am wrong !

Thanks,
Anupam Bhatt
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to change localhost with myAppliaction in the URL
 
jQuery in Action, 3rd edition