• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sample and realtime use of doHead() method?

 
Senthilraja Chandran
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I learnt HEAD method, which provides only headers in response.
What is the realtime use of this method?
Can anyone give me a simple sample on this using a jsp and servlet?

Regards//Senthil raja
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HEAD requests aren't something you're going to be doing with a browser-based app.

Every once in a while we get a question like yours about one of the more obscure HTTP methods wanting to know how to use it. The simplest answer is don't worry about it, but there have been some threads where Ulf, I, or someone else gave some tidbits to satisfy curiosities.

So, if you're absolutely curious, you could search the forum for this question and figure out how to send a HEAD request to your server (you'll probably have to download some program to allow you to send such requests).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic