wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doPut()????" Watch "doPut()????" New topic
Author

doPut()????

Sundar Murthi
Ranch Hand

Joined: Mar 05, 2004
Posts: 209
Hi
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: 8904

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


Groovy
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: doPut()????
 
Similar Threads
How to upload a file using servlets to a webserver
A problem in executing the servlet
about QueryString
URL Rewriting for HTML form's submission?
can we use post method in urlrewriting?