Chris:

Is there a reason you can't redirect any www.foo.com/index.html requests to
your servlet with an Apache redirect directive instead (besides adding
another trip back-and-forth for the user, that is)?

Regards,
Joel

----- Original Message -----
From: "Chris Bailey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 7:45 PM
Subject: RE: How do I map www.blah.com to a servlet?


> This is what I'm already doing (see the email below) - I map my servlet
> to index.html in web.xml.
>
> On 23 Apr 2001 16:26:04 -0700, [EMAIL PROTECTED] wrote:
> > 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
> > >
> > >
> >
>
> --
> Chris Bailey            [EMAIL PROTECTED]
> Wego Systems            http://www.wego.com

Reply via email to