In my jsp if I call <form action="/sampleServlet" method="get" name="form1">
, I get the following exception :
http 404 error--sampleServlet is not found.I set sampleServlet in web.xml file and url-pattern also set to /sampleServlet.
Why I am getting 404 (not found servlet.)?