Thank you very much!!! I checked it and I see the following: (now, when I know what I know) webapps/ROOT -- the default page, which is displayed after installation
when I replace _this_ web application (using one of the three procedures above) I will override this default application. I will test it! Thank you very much! PETR On 1/23/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Petr Hadraba [mailto:[EMAIL PROTECTED] > > Subject: Re: (newb) Tomcat servlet mapping problem > > > > How can I ommit the servlet name in the URL? > > Your application must become the default app. To do this, it must be > named ROOT (case sensitive). You can achieve this by: > > 1) replacing the contents of webapps/ROOT with your own app (not in a > .war file); or, > 2) deleting webapps/ROOT and renaming your app's .war file to > webapps/ROOT.war; or, > 3) putting your app somewhere other than Tomcat's webapps directory and, > in the conf/Catalina/localhost directory, placing a file named ROOT.xml > containing a <Context> element with a docBase attribute pointing to your > app (directory or .war file). > > > To override "DefaultServlet" is, I think, not so good > > solution, isn't it? > > Correct, it is not an appropriate solution. The DefaultServlet handles > static content, and must not be confused with the default webapp. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >