java - Tomcat not picking the showing 404 on index.html -
i new servelests , building web application. when create new html file in myproejct under web pages folder in netbeans , compilling file shows 404 error following url
http://localhost:8080/myproject/
but when change url
http://localhost:8080/myproject/index.html
it shows page..
and when creating index.jsp instead of index.html , compile in netbeans shown in browser
why happen ????? hint ??
is index.html under web-inf
or webcontent
?
it should under webcontent
folder , map in web.xml.
Comments
Post a Comment