首页 > 其他分享> > 【报错】The origin server did not find a current representation for the target resource or is not willin
【报错】The origin server did not find a current representation for the target resource or is not willin
作者:互联网
提交表单之后,
报错页面显示:
HTTP Status 404 – 未找到
Type Status Report
消息 Not found
描述 The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/9.0.24
截图如下:
查看url,是因为路径里缺少了项目名。
查看代码:
<form action="/login" method="post">
表单这里的action里要去掉/
正确的写法如下:
<form action="login" method="post">
去掉/之后,问题解决。
【记录java课程设计踩的坑】
标签:origin,disclose,exists,Status,current,报错,find 来源: https://www.cnblogs.com/christy99cc/p/12001680.html