I am posting data to servlet using jquery .post()
method. The data is being posted and servlet is able to catch the data. But in my firebug I see 302 once the post request is done.
Also I am redirecting the user to success page in my servlet. But the redirect is not happening!!
Should'nt I be getting 200 on the post request?
And why is a simple response.sendRedirect("success.jsp")
not happening?
When I click on the response tab I can see the success.jsp
html tags.
Please throw light on what is happening? How do I correct it?