can't you map the name index.html to your servlet in the web.xml file?
or you can change the index file name to point to your servlet.
Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net 

> -----Original Message-----
> From: Chris Bailey [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 4:18 PM
> To: [EMAIL PROTECTED]
> Subject: How do I map www.blah.com to a servlet?
> 
> 
> I'm using Linux, Apache 1.3.19, Tomcat 3.2.1, mod_jk.  I want to map a
> URL such as "http://www.foo.com"; to a servlet.  Right now I do this by
> just mapping the default page (e.g. index.html) to a servlet.  But, then
> index.html shows up in the URL on many further uses.  Is there a
> different way to do it, or a way to make sure that "index.html" doesn't
> show up in the URL?
> 
> -- 
> Chris Bailey            [EMAIL PROTECTED]
> Wego Systems            http://www.wego.com
> 
> 

Reply via email to