This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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?