Hi All, Please let me know how to handle the requirement in servlets given below:
1. GET : A request could come from a web browser or a telnet client 2 Handling of errors such as �URI not found� has to be taken care 2. PUT : Server should be able to dump the body of a PUT request to a file specified by the URI in the request line. It should return the correct message to the client as well. This part should work correctly with a telnet client. 3. DELETE: Your server should be able to delete the file specified in the URI of a DELETE request. It should return the correct message to the client. This part should work correctly with a telnet client.
Please let me know to handle these scenarios as Iam quite new to Servlets
in the web.xml, and customize PageNotFound.jsp with whatever message u want. But i am not sure the same thing works will all kinds of requests, and i feel its not dependent on the type of request. so this should work for all kinds of request if i am not wrong.