This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
One of my jsp pages allows a user to upload a file from their computer to the server. The page contents are submitted via HTML Form using the POST method and an enctype equal to "multipart/form-data". I need to write a class that will properly handle this type of request. I have looked through the forum and found several threads refering to this issue. They all state the same thing; use some third-party software. This is not an option for me since all of the code that we use must be developed internally. My question is this, is there any information out there on how to write this code? If so, where? Thanks for any help that you can provide.
If you must write all the code that you use (do they expect you to write your own servlet container as well?), you'll need to parse the multi-part request yourself.
I'd grab one of the 3rd party tools that you found mentioned and look at the multi-part parsing code to learn what it entails. In particular, I remeber that looking at the O'Reilly MultipartParser class was very instructive.