I have started servlets few hours ago. Now i have created a very simple servlet which is called from a html form. But instead of loading servlet i am getting 404 error.
I have created a directory myapp under webapps folder. Created WEB-INF folder in myapp folder and further classes folder in WEB-INF and placed servlet class file there. Also I have created web.xml file and placed it in WEB-INF folder. HTML file is located directly under myapp folder. Following are the codes for java, xml and html file.