Leonel, Change the following line in tomcat/conf/server.xml file
<!-- Tomcat Root Context --> <!-- Changed the ROOT context to point to yourapp. The following one line has been changed. Earlier it was commented out which indicates that tomcat always uses ROOT context as default. --> <Context path="" docBase="yourapp" debug="0"/> Hope this helps. Thanks, RNS -----Original Message----- From: Leonel [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 2:09 PM To: Tomcat Users List Subject: Re: servlet as an index page ? On 6/19/06, Marc Farrow <[EMAIL PROTECTED]> wrote: > Change your ROOT index.jsp to redirect to the servlet. Or you can map "ALL" > ROOT requests to go to the servlet. Not sure the latter is something you > want. > > On 6/19/06, Leonel <[EMAIL PROTECTED]> wrote: > > > > Hello > > > > I'm trying to make a Servlet act as a Index page > > > > when I request the url http://server/ how can I tell tomcat > > to execute the servlet I want > > it works when I request http://server/servlet but I don't want > > to issue the servlet name on the url > > > > thanks > > > > > > -- > > Leonel > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Marc Farrow > > and that will be on my web.xml ? -- Leonel Nunez --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]