File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Overriding HTTP methods

 
Ryan McClain
Ranch Hand
Posts: 145
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a rule that says you should always override at least one of both doGet() and doPost() methods. It also states that if you don't override the method, you're telling the Container that this servlet does not support HTTP POST/GET requests.

What message would one get from the server if one does not override any HTTP methods in the servlet code?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the list of HTTP status codes. Can you find which one you think you'd receive?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic