On 22/08/2009 06:11, Tommy Pham wrote:
Hi, I need some to process some multipart/form-data. Are the any other solutions other than:
What are you really trying to achieve? Are you uploading a file, or doing something else?
Solution A: 1. download http://www.servlets.com/cos/index.html 2. invoke getParameters() on com.oreilly.servlet.MultipartRequest Solution B: 1. download http://jakarta.apache.org/commons/sandbox/fileupload/ 2. invoke readHeaders() in org.apache.commons.fileupload.MultipartStream
I don't know about the other examples, but the above looks like an out of date reference. http://commons.apache.org/fileupload/ is the current version.
Without knowing what you're really trying to achieve, it's hard to say, but "readHeaders()" doesn't seem like the right method to call.
p
Solution C: 1. download http://users.boone.net/wbrameld/multipartformdata/ 2. invoke getParameter on com.bigfoot.bugar.servlet.http.MultipartFormData Solution D: frameworks like struts, jsf, etc.. TIA, Tommy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org