为什么我用servlet处理表单的时候,出现这样的错误?
Apache Tomcat/4.0.1 - HTTP Status 405 - HTTP method POST is not supported by this URL
--------------------------------------------------------------------------
type Status report
message HTTP method POST is not supported by this URL
description The specified HTTP method is not allowed for the requested resource (HTTP method POST is not supported by this URL).
我用的是tomcat 4.01 用servlet处理表单提交的数据的时候,总是会出现这个问题
但是如果我用doGet而且用户用get方法提交的时候就没有错误,为什么会这样呢??
请高手给予解答?是环境的原因吗?