This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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: 8898

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: doPut()????
 
Similar Threads
about QueryString
URL Rewriting for HTML form's submission?
A problem in executing the servlet
can we use post method in urlrewriting?
How to upload a file using servlets to a webserver