我正在使用 spring mvc 创建一个 web 应用程序,我是一个初学者。所以我的应用程序是一个基于本教程的简单登录应用程序: https://www.onlinetutorialspoint.com/spring/spring-mvc-login-form-example.html
当我运行应用程序时,出现错误:
État HTTP 405 – Method Not Allowed
Type Rapport d''état
message Request method 'GET' not supported
description La méthode HTTP spécifiée n''est pas autorisée pour la ressource demandée.
最佳答案
检查登录表单操作方法是否为POST
。
关于spring-mvc - HTTP 状态 405 - 请求方法 'GET' 不支持 MVCspring,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51304145/