RE: file upload using POST
hi, Tomcat does not have any standard facility for fileuploads (at least not last time I looked). You need a multipart request parser. As you mentioned O'reilly provides something called MultiPartRequest or something like that. You should be able to download it from their site. I dont know if it is the best but it's free and it seems many people like using it. There are serveral others though, for my self, I thought the license to use oreilly's classes was not what I wanted so I implemented my own requestparser, that's not so complicated anyways. hope it helps -reynir -Original Message- From: Ushakov, Sergey N [mailto:[EMAIL PROTECTED]] Sent: 6. juni 2002 18:26 To: [EMAIL PROTECTED] Subject: file upload using POST Sorry, I'm sure my question is a FAQ, but I still can't find an answer. Does Jakarta/Tomcat have a standard facility for file upload processing using POST? I have searched the Tomcat 4 docs, but did not find any trace. JGuru mentions the org.apache.tomcat.request.ParseMime class, but it seems to be absent from present Tomcat release. And from CVS tree also. Seems that most people use Jason Hunter's MultipartRequest . Is it the best choice for Tomcat? Regards, Sergey Ushakov -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: file upload using POST
Seems that most people use Jason Hunter's MultipartRequest . Is it the best choice for Tomcat? That's what I personally use. fillup On 6/6/02 11:26 AM, Ushakov, Sergey N [EMAIL PROTECTED] wrote: Sorry, I'm sure my question is a FAQ, but I still can't find an answer. Does Jakarta/Tomcat have a standard facility for file upload processing using POST? I have searched the Tomcat 4 docs, but did not find any trace. JGuru mentions the org.apache.tomcat.request.ParseMime class, but it seems to be absent from present Tomcat release. And from CVS tree also. Seems that most people use Jason Hunter's MultipartRequest . Is it the best choice for Tomcat? Regards, Sergey Ushakov -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: file upload using POST
jakarta struts project has file upload capability but I haven't ever looked at it. They have an example war file too. -Dennis On Thu, 2002-06-06 at 12:26, Ushakov, Sergey N wrote: Sorry, I'm sure my question is a FAQ, but I still can't find an answer. Does Jakarta/Tomcat have a standard facility for file upload processing using POST? I have searched the Tomcat 4 docs, but did not find any trace. JGuru mentions the org.apache.tomcat.request.ParseMime class, but it seems to be absent from present Tomcat release. And from CVS tree also. Seems that most people use Jason Hunter's MultipartRequest . Is it the best choice for Tomcat? Regards, Sergey Ushakov -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]