Hi,
I have a loginservlet that validates the user information entered in a html form against that contained in database.
In that
servlet there is a doget method that calls dopost. And all the processing is done in dopost. I don't understand what the purpose of this is. can anyone help me out?
The code is like this:
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
doPost(request, response);
}
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
//Processing done here
}