标签: servlets
我最近发现servlet没有doPatch()和doGet()这样的doPost()方法。我一直在从浏览器向Servlet发送获取请求,即使浏览器显示“ Request Method:PATCH”,该Servlet仍将其视为GET方法。我可以在调用request.getMethod()并在Tomcat的访问日志中看到这一点。将PATCH转换为GET可能是什么?
doPatch()
doGet()
doPost()
request.getMethod()