context.xml vs web.xml in web application
问题 I am developing a small web application application. The objective is to create one welcome index.html page with Ajax + one servlet to handle ajax requests. Although I thought I would be fine with a web.xml only, I don't want to deploy to / , but to /MyApp . NetBeans's project properties offers options to set a context path, which helps me deploying to /MyApp . However, it automatically adds a /META-INF/context.xml file, which is a bit confusing. My questions are: 1) Do I really need a