Tuesday, May 20, 2003 08:15 AM
Q. suppose, one servlet extends HttpServlet is having doGet(),doPost(),service() methods. My Question is, My request method is Post/Get. which method is executed ,doPost()/doGet() or service(), both of them contain same code/ some thing different?. Can I write these three methods in the same servlet?.