descriptionThe requested resource () is not available.
I believe this could be something which people encounter regularly. I am not able to figure out why I am getting this. The the form 'action' in jsp is pointing to the correct servlet I want and in the web.xml file, the servlet is declared as well...yet I am gettting this error...The codes are as follows:
Thanks for pointing it out to me. I am still having the problem and I now suspect it's something to do with the folders. All I want to do now is just to make sure that the servlet gets called and writes "This is a test" when the submit button is clicked on the form.
My folder structure is as follows:
I realise that if I were to place sysuserBookingForm.jsp outside the 'sysuser' folder(as in within the Webpages folder but not under any subfolder), and run the project, the form opens up and I click on the submit button, the servlet is invoked and "This is a test" appears in the browser, which is exactly what I want. However this dosen't happen when the sysuserBookingForm.jsp is within the sysuser folder. Do I have to make changes to the form action? I tried the following, this:
was changed to this:
It still gives me the same error. What then is the correct way to call/invoke the servlet from a jsp file that is located in a subfolder of the WebPages folder?