Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

support both GET and POST

 
Chandra Sagi
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The question on pg 118 (What if I want to support both GET and POST from a Single servlet) should also include a public void doGet(...)throws..{} method right?

Thanks
Chandu
 
Xiaoxiao Lam
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think so.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The question on pg 118

Which book are you refering to ?

And yes, you'll have to override the doGet method in your servlet.
 
Chandra Sagi
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, the book is HFSJ.

Thanks
Chandu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic