• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doHead and doGet?

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

Is the following statement below is true?

The doHead method will execute the doGet method if the doHead method has not been overridden by the programmer?? Is this true?? Can anyone comment on this?
 
Sandeep Krish
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the http method implementation changes based on Container implmentation and vendor

Correct me if i am wrong!!
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone to give a clear picture for my post above??
 
madhav changala
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes doHead() will do same thing what doGet()

Actually doHead() will internally calls doGet().. and display only header informations..


Regards
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this given in the specs? Can you please confirm?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic