非常简单的HttpServlet入门示例,但是报错:
HTTP Status 405 - HTTP method GET is not supported by this URL
解决办法:
去掉super.doGet(req, resp);
去掉super.doPost(req, resp);
非常简单的HttpServlet入门示例,但是报错:
HTTP Status 405 - HTTP method GET is not supported by this URL
解决办法:
去掉super.doGet(req, resp);
去掉super.doPost(req, resp);