> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: configure tomcat to hide servlet and app > > you have to delete the existing ROOT application, name > yours "ROOT" and put it where the other one was.
That answered the how to hide the app part, but not the servlet. To make any particular servlet the default, you need to use a <servlet-mapping> in your webapp's WEB-INF/web.xml file with a <url-pattern> of /* that points to the desired servlet. Read the servlet spec for details. > Now, I must admit : I just looked at the Tomcat 6.0 on-line > documentation, and that ROOT thing is not easy to find. > I have not found it yet; not in the FAQ either. http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Automatic%20Application%20Deployment http://tomcat.apache.org/tomcat-6.0-doc/config/context.html http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html - 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: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org