sendredirect « Post « JSP-Servlet Q&A

1. response.sendredirect in post method

response.sendredirect can we use this in Post method .?

2. sendRedirect() using post data from jsp

Normally, I would use response.sendRedirect(url) to navigate the user to another page, with form data attached as a query string. However, there are parts of my query string that I don't want to display in the browser's location bar after the redirect is done. Since response.sendRedirect() uses the GET method to request the url, the entire query string is displayed in ...