I don't know of a way to map www.mydomain.com to a servlet without that servlet being the default servlet. The way servlet mapping works, I think this is unavoidable. If your servlet isn't able to be the default servlet, it will have to be invoked indirectly. You could try an index.jsp that forwards to your servlet.
Cheers, Larry > -----Original Message----- > From: john-paul delaney [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 18, 2002 3:30 PM > To: Tomcat Users List > Subject: RE: NewB/Default Servlet:Can't find .gif > > > > Is there a way then, to automatically invoke a servlet by > pointing to the url > www.mydomain.com (Or am I obliged to use .jsps)? > > thanks/j-p. > > > On Mon, 18 Feb 2002, Larry Isaacs wrote: > > > > The default servlet handles requests that don't map to some other > > serlvet. This usually includes all static content and requests > > that match directories. It is the resposibility of the default > > servlet to serve these requests in a appropriate manner. The > > default servlet supplied by Tomcat implements serving static > > resources and directory listings. If your default servlet doesn't > > support this, you will lose this feature if you replace Tomcat's > > default servlet. > > > > Larry > > > > > ----------------------- > JUSTATEST Art Online > www.justatest.com > > > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
