Re: HTML form: multipart/form-data

2002-03-14 Thread Bojan Smojver
On Wed, 2002-03-13 at 06:39, Jon Scott Stevens wrote: The code you need is in here (MultipartStream.java): http://cvs.apache.org/viewcvs.cgi/jakarta-turbine-fulcrum/src/services/java /org/apache/fulcrum/upload/ Thanks Jon! p.s. Unlike Struts, it can be separated out. Cool. I'll sure

Re: HTML form: multipart/form-data

2002-03-14 Thread Daniel Rall
Bojan Smojver [EMAIL PROTECTED] writes: On Wed, 2002-03-13 at 06:39, Jon Scott Stevens wrote: p.s. Don't use JavaMail for it, because JavaMail tends to have a lot of overhead. Yes, you're right. And I don't think you can limit (with JavaMail) how much data you want to allow, so that's

Re: HTML form: multipart/form-data

2002-03-12 Thread Andreas Junghans
Hi Bojan, you can use JavaMail for that. Below is a code snippet that extracts all the parts of the form data (probably could need some cleanup though). I don't know if this solution works under all circumstances, but we're using it regularly with no problems so far. Best regards Andreas

Re: HTML form: multipart/form-data

2002-03-12 Thread Bojan Smojver
That was my first thought as well but I never carried it through, mostly because I was too lazy to do the RTFM. I guess I can always rewrite my own parser with the JavaMail stuff. Thanks for the code... Bojan On Tue, 2002-03-12 at 19:54, Andreas Junghans wrote: Hi Bojan, you can use

Re: HTML form: multipart/form-data

2002-03-12 Thread Jon Scott Stevens
on 3/11/02 10:08 PM, Bojan Smojver [EMAIL PROTECTED] wrote: I was looking for a class capable of parsing the above, but I couldn't find one in Jakarta source tree (in the meantime I whacked a dodgy one together, so my immediate problem is solved). Can someone point me to the 'proper' one in

HTML form: multipart/form-data

2002-03-11 Thread Bojan Smojver
I was looking for a class capable of parsing the above, but I couldn't find one in Jakarta source tree (in the meantime I whacked a dodgy one together, so my immediate problem is solved). Can someone point me to the 'proper' one in in Jakarta sources? Bojan -- To unsubscribe, e-mail:

Re: HTML form: multipart/form-data

2002-03-11 Thread Craig R. McClanahan
y On 12 Mar 2002, Bojan Smojver wrote: Date: 12 Mar 2002 17:08:18 +1100 From: Bojan Smojver [EMAIL PROTECTED] Reply-To: Tomcat Developers List [EMAIL PROTECTED] To: Tomcat Dev List [EMAIL PROTECTED] Subject: HTML form: multipart/form-data I was looking for a class capable of parsing

Re: HTML form: multipart/form-data

2002-03-11 Thread Bojan Smojver
On Tue, 2002-03-12 at 17:19, Craig R. McClanahan wrote: The most popular implementation of this seems to be Jason Hunter's upload classes at http://www.servlets.com. Within Jakarta, Struts has support for this feature http://jakarta.apache.org/struts, although it's not really separable from