This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
following is from javadoc for HttpServletResponse: SC_METHOD_NOT_ALLOWED Status code (405) indicating that the method specified in the Request-Line is not allowed for the resource identified by the Request-URI. what do they mean when they refer to: Request-Line & Request-URI? thanks in advance paul
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
1
posted
0
I understand that this happens when you try to do things like sending a POST request to a plain HTML page. The URI requested can't handle a POST request. The request line is the first header line in the request. Bill
Request line means the complete HTTP request that i ssent to the server. Requested URI refers to the location of the resource/application on the server. Yep, the previous reply is on the dot. There are other cases. For example, if u refer to a servelt froma page using POST but in the servlet, u haven't provided a doPost, only doGet. I did get this error with JRun, don't know about other Servlet engines. Hope this helps. -Mohammed