Hi all,
I am trying to call a Servlet from my index.jsp. each time i call the click on the button where the Servlet would be loaded i get the "Error 404 The requested resource is not available"
here is the code from JSP where the Servlet is being called.
form name="frmCourse" method="post" action="/Servlets/Controller?Type=<%=Type%>&method=getContent">
My Servlet is located in WEB-INF--->classes---->Servlets---->Controller
Edited by: Paul_Gh on Nov 25, 2008 3:19 PM
I have also added the servlet in my web.xml file as following
<servlet>
<servlet-name>Controller</servlet-name>
<servlet-class>Servlets.Controller</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Controller</servlet-name>
<url-pattern>/web</url-pattern>************ I tried having my Serlvet name there as well same issue WEB is the projcet name i am working on.
</servlet-mapping>
Edited by: Paul_Gh on Nov 25, 2008 3:23 PM