I created a web application using eclipse and Tomcat 7 I had the following code in the html file and the java servlet class in the html file:
<form action="UserAccessServlet" method = "get">
in the servlet class I had
@WebServlet ("/UserAccessServlet")
then I just made some small changes (new println statements) but it shows no effect I changed the server name with the following peice of code
html file: <form action="SQA_Servlet" method = "get">
java class: @WebServlet ("/SQA_Servlet")
but it seems that no reload take place and I got the following error:
HTTP Status 404 - /SQA_Learning/SQA_Servlet
--------------------------------------------------------------------------------
type Status report
message /SQA_Learning/SQA_Servlet
description The requested resource (/SQA_Learning/SQA_Servlet) is not available.
I tried clean the module, refresh, close the reopen the project with the same result
I replaced @WebServlet ("/SQA_Servlet")
with @WebServlet(urlPatterns={"/SQA_Servlet"})
and still have no effect.. any suggestion.