• Post Reply Bookmark Topic Watch Topic
  • New Topic

triggering doHead method

 
dennis zined
Ranch Hand
Posts: 330
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.

How is a servlet's doHead method triggered from a web page?

Isn't this as simple as defining the type of http method in the form's method property and submitting the form:


For some reasons it still triggers the doGet method.

Thanks.
 
dennis zined
Ranch Hand
Posts: 330
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
still cant get any of the http methods to work except for post and get.



Am I missing something?
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!