How about URL Mapping ? For example, if index.jsp is mapped to /WelcomeServlet it may work. I am not sure if this will work, but it should I would think.
Thanks TVS --- Jeremy Prellwitz <[EMAIL PROTECTED]> wrote: > i have no idea if you can put a servlet in your > welcome list, > so you may want to keep trying that angle, but what > i do know > works is putting an index.jsp in your welcome list, > and that > jsp could contain nothing except the following: > > <% response.sendRedirect("YourServlet"); %> > > And then like magic, you have your servlet when you > go to > your webapp path. > > cheers.... > > > > ---- Original message ---- > >Date: Tue, 10 Sep 2002 09:44:36 +0800 > >From: 杨小网 <[EMAIL PROTECTED]> > >Subject: how to set welcome-file as a Servlet > >To: "[EMAIL PROTECTED]" <struts- > [EMAIL PROTECTED]> > > > >i want to set a servlet as welcome-file in web.xml > , but it > doesn't work ,how to do it? > > > >thank u . > > > >sureone > > > > > > > > > >-- > >To unsubscribe, e-mail: <mailto:struts-dev- > [EMAIL PROTECTED]> > >For additional commands, e-mail: > <mailto:struts-dev- > [EMAIL PROTECTED]> > > > > > =================================== > Experience is something you don't > get until just after you need it. > =================================== > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>