The
Servlet specification p.231 says that the method signature is
protected void doGet(HttpServletRequest req,HttpServletResponse resp) throws ServletException, IOException. Yet in the HFSJbook all the examples show public void doGet..... So is it public or protected?
What is the correct signature? What will be excepted as right in the exam?