LoginServlet.javalogin.jspweb.xml
如果是路径映射,则URL模式应以正斜杠(/)开头,
@WebServlet(urlPattern = "/login.do") public class LoginServlet extends HttpServlet {}