HttpServletRequest request, HttpServletResponse response) {
.................
String sPath = "/main/login.do";
ActionRedirect forward = new ActionRedirect(null, sPath, "");
forward.addParameter("userName", name);
forward.addParameter("password", password);
return forward;
}