I am trying a upload program which passes parameters to a servlet . I have tried a long time but still not solve it. Anyone knows how to do? Thanks a lot. The error is following: HTTP Status 405 - HTTP method POST is not supported by this URL 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).
of course, my jsp has the enctype like the following: form name="form1" enctype="multipart/form-data" method="post" onSubmit="return validateForm(this)" action="/cfhc/servlet/UploadTest" The program can work in the office.In my office, I have the Tomcat 4.1 only. But, this cannot work at home. I have installed IIS and Tomcat. But they are in different port.I have changed the port of Tomcat to 8081. Is it the source of the problem?