This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
i have a form which lets the user choose three files from its system by the <input type=file> form element. i have put the <form enctype="multipart/form-data" action="some_url" method="PUT"> i do not know how to use PUT. what url must be specified here. can some one please give an example and explain.
is it that this file upload can only be done by PUT request? because the form has two text fields as well. how can i retrieve files as well as text informations?
You can use POST and a multi-part reader. Lots of people start with Jason Hunter's code: http://www.servlets.com/cos/index.html. I found his Java to look a lot like a literal translation from C or some procedural langauge, but it works. Remember that anti-hamburger commercial ... don't look under the hood?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com