I am not using any IDE to make this. Tomcat says running=false in manager ?
I got an error 404. Please let me know the error(s) i am making.

My Directory Structure :

Java Code:
CustomCookie (my web-app)
│   index.html
│   result.jsp
│
└───WEB-INF
    │   web.xml
    │
    └───classes
            CheckCookie.class
            CheckCookie.java
            MyCookie.class
            MyCookie.java

This code calls MyCookie/servlet 1 and sends it name from a text-box.
index.html
Java Code:
<html>
<body bgcolor=orange>
<h1>Please enter your name !</h1>

<form method="get" action="servlet1">
<input type=text name=UserName size=30>
<input type=submit>
</form>

</body>
</html>

servlet 1 will return this link to servlet 2 via this jsp
result.jsp
Java Code:
<html>
<body bgcolor=green>
<a href=checker>Call cookie checker servlet</a>

</body>
</html>
web.xml
Java Code:
<web-app>

<servlet>
<servlet-name>serv1</servlet-name>
<servlet-class>MyCookie</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>serv1<servlet-name>
<url-pattern>/servlet1</url-pattern>
<servlet-mapping>

<servlet>
<servlet-name>serv2</servlet-name>
<servlet-class>CheckCookie</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>serv2<servlet-name>
<url-pattern>/checker</url-pattern>
<servlet-mapping>

</web-app>
CheckCookie.java : my second servlet
Java Code:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;

public class CheckCookie extends HttpServlet
{
	public void doGet(HttpServletRequest req, HttpServletResponse resp)throws IOException,ServletException
	{
		resp.setContentType("text/html");
		PrintWriter pw = resp.getWriter();
		pw.println("<body bgcolor=orange>");
		Cookie[] cooks = req.getCookies(); // get cookies from this request which comes form 1st servlet.
		if(cooks!=null)
		{
			for(int i = 0;i<cooks.length;i++)
			{
				
				if(cooks[i].getName().equals("user"))
				{ 
					String name = cooks[i].getValue();
					pw.println("hello " + name);
					break;
				}
				
			}//for
		
		}//if
		pw.println("</body>");
		
	}
	
}
MyCookie.java : my first servlet
Java Code:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*; // for the IOException

public class MyCookie extends HttpServlet
{
	public void doGet(HttpServletRequest req, HttpServletResponse resp)throws IOException,ServletException //can i use doGet() here ?
	{
		//Take the user name ie value of parameter UserName sent from index.html file
		String name = req.getParameter("UserName"); 
		Cookie cook = new Cookie("user",name);
		
		cook.setMaxAge(30*60);	
		resp.addCookie(cook);
		
		RequestDispatcher rd = req.getRequestDispatcher("result.jsp"); 
		rd.forward(req,resp); 
		
	}
	
}