*
The moose likes Servlets and the fly likes tomcat configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat configuration" Watch "tomcat configuration" New topic
Author

tomcat configuration

jennifer truong
Greenhorn

Joined: Sep 11, 2001
Posts: 2
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

Joined: Mar 07, 2001
Posts: 93
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

Joined: May 29, 2001
Posts: 113
use apache and tomcat


Senior software engineer
Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
Hi mocca,
I think NT doesn't allow dots in machine name..
Pranit.
mocca az
Ranch Hand

Joined: Mar 07, 2001
Posts: 93
Pranit,
What dots are you talking about...???
Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
Actually she is talking abt www.xyz.com..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat configuration
 
Similar Threads
error running tomcat 5.0
tomcat iis help please
Hibernate xml file
how to enter password once, in code, for url database access
using tomcat with apache2