Have you tried to create a <host> element in Tomcat around your context and
thereby remove the need for anything after the www.whatever.org?

Andoni.

PS: Are you using Apache Virtual Hosting?

----- Original Message -----
From: "Anderson, M. Paul" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 3:09 PM
Subject: RE: <welcome-file-list>


> ok...essentially I have a url of the form
> www.whatever.org/MyServlet/ServletMappedName where the servlet is titled
> MyServlet and is mapped to "ServletMappedName" in the web.xml file so that
I
> can avoid the servlet/package.MyServlet portion of the url.  I'd prefer to
> just call www.whatever.org/MyServlet and have it invoke the servlet that
> gets invoked when /ServletMappedName is added to it.
>
> A little background on the site...
>
> "MyServlet" is essentially a "filter" which handles all page requests for
> the site.  This configuration allows me to monitor and authenticate all
page
> requests.  When "MyServlet" starts up it sends the user a Login.jsp page
> which sends authentication parameters back to "MyServlet" and
> allows/disallows the user access.  Every page on the entire site runs
> through the "MyServlet" filter.  I don't know if this was the best setup
but
> it was my first servlet/jsp site and it seemed logical.
>
> -----Original Message-----
> From: Andoni [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 18, 2002 9:45 AM
> To: Tomcat Users List
> Subject: Re: <welcome-file-list>
>
>
> Yes, it is, in as much as any .jsp file IS a servlet.
>
> Why don't you describe more about what you want to achieve.
>
> For example what URL do you want your users to type in and what do you
want
> served first?
>
> Andoni.
>
> ----- Original Message -----
> From: "Anderson, M. Paul" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Monday, November 18, 2002 2:35 PM
> Subject: <welcome-file-list>
>
>
> > Is it possible to have a servlet be the <welcome-file> parameter in a
> > welcome-file-list?  If so, how do I invoke the servlet?
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to