I assume the following senario.
When user requests for 'http://your-url/' on their
browsers you'd like your servlet to be executed.

Answer follows.
If you are using IIS then visit the property page of
your site in ISS under the documents tab enter the
name of the url that you have linked to the servlet as
defined in your web.xml in your context in Tomcat.

If you are running Apache, then you should configure
and enable URL rewriting module then edit your
httpd.conf or .htaccess file to substitute empty
document name in URL with the url name of your servlet
as you've defined in your web.xml file.
You may refer to URL rewriting in the Apache
documentation in your apache installation, the
documentation will in turn refer you to another site
for more on URL rewriting using mod_rewrite. 

Allan Kamau.
Nairobi


--- Kevin Fonner <[EMAIL PROTECTED]> wrote:
> How do I get the web server to start with a servlet
> instead of an html file?
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to