I have a problem. I created a web app and packaged it with “Ldap” name. Then I put it into tomcat webapps directory. When I enter localhost:8080/Ldap in a browser, it works fine. But I want to start this web app when writing localhost:8080. How can I do this in Tomcat. Is there any Tomcat configuration to supply this. Thanks
Share
You need to provide a context.xml file with your webapp, containing a
Contextelement with an empty attributepath. This is explained in the tomcat configuration reference.This context.xml file should be located under
/META-INF/in your web application (not/WEB-INF/).