摘要:
页面1:表单的action=login?method=login页面2:表单的action=login?method=insert .....然后通过method的值采用不同方法进行处理。如下public void doPost(HttpServletRequest request, HttpServletResponse response) {String method = request.getParameter("method");if ("login".equals(method)) doLogin(request,response);else 阅读全文