I have the following code :
RequestDispatcher dispatcher = request.getRequestDispatcher(viewName);
// while viewName is another servlet name;
dispatcher.forward(request, response);
It's a successful forwording except parameters are shown in the browser address bar. Something like this:
http://localhost:8080/testweb/action/LoginAction/login?username=apcpros%40163.com&password=12234
I DO NOT want to show any parameters (e.g. username and password) in the browser address bar after forwording. What should I do?