• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tomcat configuration

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
use apache and tomcat
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pranit,
What dots are you talking about...???
 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually she is talking abt www.xyz.com..
 
reply
    Bookmark Topic Watch Topic
  • New Topic