• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat configuration

 
jennifer truong
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using Windows NT and have installed Tomcat for executing servlets. Everything is working fine. What I want to do is configure Tomcat so that when I test my servlets locally I enter something like "http://www.mysite.com/myservlet" rather than having to enter something like "http://localhost:8080/servlet/myservlet". I think I need to modify some of the XML files that Tomcat uses to configure itself, but I don't know exactly which ones to modify, where they should be in the directory structure, or exactly what code I need to type in the XML files. Thanks for any help.
 
mocca az
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
server.xml have port value=8080. Change it to value=80. Other part you can solve by just calling your net bios (computer name) name of your NT machine. For example, my machine name is void, therefore with this configuration all i do is http://void/
 
Dorj Galaa
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use apache and tomcat
 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi mocca,
I think NT doesn't allow dots in machine name..
Pranit.
 
mocca az
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pranit,
What dots are you talking about...???
 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually she is talking abt www.xyz.com..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic