File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Url(Doubt.......) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Url(Doubt.......)" Watch "Url(Doubt.......)" New topic


Thamarai kannan

Joined: May 05, 2009
Posts: 28
hw 2 specify the own userdefined name instead of repective port number .....
ex:tomcat 6.0 url is http://localhost:8080/ instead of this url can we specify our http://Mysample/ as if.................
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Two things: first, change Tomcat to listen to port 80 instead of port 8080. Since port 80 is the default for HTTP requests, it is not necessary to specify it. Open your server.xml file and search for "8080".
Second, you need to register a domain name with a company like GoDaddy or Network Solutions. They will associate your domain name with the IP address of the server your site is hosted on. If you don't have a public, static IP address, you'll either need to get one or find a hosting company to host your site.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Url(Doubt.......)
jQuery in Action, 3rd edition