> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Schweikle > Subject: changing the default application > > How can I change the default application from the tomcat > "ROOT/index.jsp" page to an application installed in > "$CATALINA_HOME/Catalina/localhost/app.xml"?
Name your application ROOT - that's your only choice. If you use a <Context> element in conf/Catalina/[host]/ROOT.xml, store your app outside of the <Host>'s appBase directory and use the docBase attribute to point to it. > I found the default application in "web.xml" and changed it from > <servlet-mapping> > <servlet-name>default</servlet-name> > <url-pattern>/</url-pattern> > </servlet-mapping> You're confused. That's the default _servlet_, not the default webapp. That servlet is needed to deliver all static content. Change it back to the way you found it and leave it alone. > For the web application I defined (in > "$CATALINA_HOME/Cataline/localhost/app.xml"): > <Context path="/" The path attribute is not allowed in this instance; the file containing the <Context> element must be named ROOT.xml for it to be treated as the default webapp. > Any idea what I am missing? Lots - see the above. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]