File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Url(Doubt.......)

 
Thamarai kannan
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic