My structur is like 

> 
> * WebContent
> 	+ META-INF
> 	+ WEB-INF
> 		- jsp
> 			* index.jsp
> 	+ web.xml
> 
> 
> 

And `web.xml` file is as simples as can be

```
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

<web-app>
  <display-name>servlets</display-name>
  <welcome-file-list>
    <welcome-file>WEB-INF/jsp/index.jsp</welcome-file>
  </welcome-file-list>
</web-app>

```

But when I execute it using eclipse in browser i get `404 error`, but when I move index.jsp to root directory it works correct.

EDIT:
After changes

> 
> jsp
> 
> 
> --index.jsp
> 
> 
> META-INF
> 
> 
> WEB-INF
> 
> 
> --web.xml
> 
> 
> 

web.xml

```
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

<web-app>
  <display-name>servlets</display-name>
  <welcome-file-list>
    <welcome-file>jsp/index.jsp</welcome-file>
  </welcome-file-list>
</web-app>

```

**SOLUTION**

I found out that my Tomcat server wasn't restarting when I was compiling. Now when tomcat restarts every time I compile servlet it works.

Thank you for your patient