Class CourseServlet
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----SQLServlet
|
+----CourseServlet
- public class CourseServlet
- extends SQLServlet
-
CourseServlet()
-
-
doGet(HttpServletRequest, HttpServletResponse)
- Interface for getting the name of the course
-
doPost(HttpServletRequest, HttpServletResponse)
- This is the interface for getting the info about the course
-
init(ServletConfig)
- Ths init Method .
CourseServlet
public CourseServlet()
init
public void init(ServletConfig config) throws ServletException
- Ths init Method . Gets the connection
- Overrides:
- init in class SQLServlet
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
- Interface for getting the name of the course
- Overrides:
- doGet in class HttpServlet
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
- This is the interface for getting the info about the course
- Overrides:
- doPost in class HttpServlet