Hi,
Im a newbie to J2EE. I was experimenting with doGet and doPost. and to my surprise I discovered that doPost was delegating? to doGet. I tried searching on the net for this but didnt find any such thing. so what going on here?
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
doPost(req, res);
PrintWriter out = res.getWriter();
out.println("This is doGet");
This prints "This is doGet" on to the webpage. But the strange thing is that Im calling doPost first!! The doPost is empty!. Is the doPost turning around and calling doGet?
[ July 14, 2007: Message edited by: Mikey Gerard ]