Java EE 6 and above version of the Web.xml problem.
MyEclipse Java EE version 6 started web.xml suddenly disappeared. No, it's just not necessary, there is a need for the project can be added on its own or in the creation of the project click the Next->next button to find the relevant selection box hook up on it.
or handwriting a web.xml yourself. Code stack, go ahead.
<?xml version= "1.0" encoding= "UTF-8"?> <web-app xmlns:xsi=
"Http://www.w3.org/2001/XMLSchema-instance" "Xmlns=" Http://xmlns.jcp.org/xml/ns/javaee "xsi:schemalocation=" Http://xmlns.jcp.org/xml/ns/javaee http:// Xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd "id=" webapp_id "version=" 3.1 ">
<display-name>hibernate </display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</ welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>