In my application I placed a newEnquiry.jsp in enquiry directory of my project. Form in it is calling NewEnquiryServlet without any problem.
I have another JSP file in same enquiry directory 'errorEnquiry.jsp' which is calling another servlet ReconfirmationServlet. But it is causing a error 404 servlet does not exist. When calling code and dirctory structure is same as above jsp.
Code for errorEnquiry.jsp
Code for reconfirmation servlet is
Web xml is
Directory Structure is
Kindly suggest me how to solve this issue when ever i click submit button in reconfirmation.jsp it automatically adds /enquiry/ url before servlet name but no so in case of newEnquiry.jsp and causing error to display.
How should i solve this problem