On Wed, 6 Dec 2000, Kedar Choudary wrote:
> Regarding the second question, unfortunately, there seems to be no way to
> specify a servelt, in place of a "welcome-file". So, I guess, easiest way to
> setup your servlet as welcome-file, will be to have a index.jsp in your
> context's root directory which simply forwards the request to your servlet,
> using jsp:forward.
Can't you use a servlet as a <welcome-file> in your <welcome-file-list>
tag in web.xml then? I've never done it myself, but I've also not read
anything that says you can't.
Catherine
>
> Kedar Choudhary.
>
> ----- Original Message -----
> From: Vanja Vlaski <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 05, 2000 3:58 PM
> Subject: web.xml question
>
>
> > Since I am new to the tomcat I have one probably stupid question.Do I have
> > to register all the servlets I use in web.xml or just the first servlet
> that
> > is called?
> >
> > Also how can I call the servlet at the beging instead of index.html?
> >
> > Thanks
> >
> ____________________________________________________________________________
> _________
> > Get more from the Web. FREE MSN Explorer download :
> http://explorer.msn.com
> >
> >
>
>