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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com