File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes doPut()???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doPut()????" Watch "doPut()????" New topic


Sundar Murthi
Ranch Hand

Joined: Mar 05, 2004
Posts: 209
My client request is not going to doPut(..) method of the servlet.

servlet file is

html file is

web.xml file is

i am using resign 3.0 as a web container

help me plz
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

The method attribute can only be "POST" or "GET".

Sundar Murthi
Ranch Hand

Joined: Mar 05, 2004
Posts: 209
How can i upload a file to a server?
Nitish Bahadur
Ranch Hand

Joined: Aug 25, 2003
Posts: 118
Use POST. HTTP PUT, which I believe is part of HTTP 1.1, can also be used. Additionally, you can look at free, Open Source implementations that allow you to do so.
I agree. Here's the link:
subject: doPut()????
Similar Threads
about QueryString
can we use post method in urlrewriting?
URL Rewriting for HTML form's submission?
A problem in executing the servlet
How to upload a file using servlets to a webserver