I have just started learning servlets few days back. I am trying to execute a simple servlet program but there is an error coming up. I tried to check the previous posts related to this error but i could not solve it. I am posting the web.xml file, the html file and servlet to make things more clear to you.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<form action ="loginProcess">
Firstname : <input type = "text" name = "firstname"><br>
Lastname :<input type = "text" name ="Lastname"><br>
Password :<input type = "password" name ="passcode"><br>
<input type ="submit" value ="register">
I checked whether the directory structure of the project and it seems to be correct. I think i have also given a write url pattern in web.xml file. I don't know if i am missing something. Any help is appreciated.