I am new to servlets. My Q is if I use for response.sendredirect() which method gets called doGet or doPost()? I know that in jsp to servlet get or post method will get called according to method type. But if it is servlet to servlet request using response.sendRedirect() which method will get called? how servlet engine decides which method to call?
Thanks in avdance.