不允许使用用于访问路径'/test.html'的HTTP谓词POST

Yve*_*ves 4 html asp.net

以下是我的代码:

<form id="productForm" method="post" action="test.html">

</form>
Run Code Online (Sandbox Code Playgroud)

jao*_*jao 7

你使用任何URL重写?(http://forums.asp.net/t/953470.aspx)

在Web服务器中,POST是否允许HTML文件?尝试将扩展名更改为.ASPX或.PHP