File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes support both GET and POST Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "support both GET and POST" Watch "support both GET and POST" New topic
Author

support both GET and POST

Chandra Sagi
Ranch Hand

Joined: May 05, 2005
Posts: 162
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

Joined: Mar 04, 2006
Posts: 27
I think so.


SCJP 1.4<br />SCWCD 1.4
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

The question on pg 118

Which book are you refering to ?

And yes, you'll have to override the doGet method in your servlet.


[My Blog]
All roads lead to JavaRanch
Chandra Sagi
Ranch Hand

Joined: May 05, 2005
Posts: 162
Sorry, the book is HFSJ.

Thanks
Chandu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: support both GET and POST