aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes doHead Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doHead " Watch "doHead " New topic
Author

doHead

Dinesh Kumar
Ranch Hand

Joined: Jul 03, 2002
Posts: 54
Hi ,
I have the following code in a servlet Login.java:

...And I have the following html file to invoke this servlet:

When I run this file..it shows error 405 ...Resource not allowed in the browser. If I replace the method "HEAD" with "GET" in the html and doHead with doGet in the servlet, then it runs ok and the servlet passes on the control to the doPost method successfully.
Why is the servlet not able to process the request in the doHead method?
Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doHead
 
Similar Threads
Delegating to doGet()
File not found error
Requested Dispatcher
Strange problem - request forwarding
Progress bar on IE6