第一种,利用HttpServletRequest
HttpServletRequest request = ServletActionContext.getRequest(); String username = request.getParameter("username"); String password = request.getParameter("password");
时间: 2024-10-02 19:55:33
第一种,利用HttpServletRequest
HttpServletRequest request = ServletActionContext.getRequest(); String username = request.getParameter("username"); String password = request.getParameter("password");