I've written a simple dynamic web project in Eclipse Luna. In web.xml page I've removed the default welcome-file-list
tag.
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>indextest</display-name>
</web-app>
But the url http://localhost:8080/indextest/ still directs to index.jsp
under 'WEB-INF' even after I've removed the tag welcome-file-list
from web.xml
. How it directs to index.jsp
page though welcome-file-list
is absent in web.xml
?