Hi
We have mainly 2 method get/post.
Even if you call HEAD method server has default implementaion and call doGet method.
If you want to try that make one siple HTML with method="post" and call
servlet.
in that you can write
if( request.getMethod.equalsIgnoreCase("GET"))
{
System.out.println("GET WILL EXECUTE");
}
else
{
System.out.println("ERROR");
}
If you want more referace about that use Dustin Callaway book.
thanx
sanjay