This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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: 8920

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()????