Take a look at Turbine's MultipartStream class.  (I think you'll find it
orbiting FileUploadService or something...

I have used it a bit in my own servlets (outside of Turbine) and for
simple things like single file uploads, it works just great.

geir

"Cris J. Holdorph" wrote:
> 
> I've been searching the net, high and low, for implementations of
> RFC 1867, "Form-based File Upload in HTML" in a Java Servlet.  Specifically
> a servlet that will run in tomcat 3.2.x.
> 
> The common answer seems to be the O'Reilly classes talked about in
> Jason Hunter's "Java Servlet Programming" book.  However, the license
> for all of the com.oreilly.servlet.* code available from www.servlets.com,
> (http://www.servlets.com/cos/license.html)
> "that every person on the development team for that project owns a copy of
> the book" for commercial use.  My company can not meet that guarantee.
> So, as far as that goes, I guess the O'Reilly classes are not an option.
> 
> Is there another option that is more Open Source, apache license style,
> for doing http file uploads, in Servlets?  I can implement my own from the
> spec, but I sure hate to reinvent the wheel.  Especially so much of that
> Mime stuff.
> 
> I look forward to any answers this tomcat-user list can provide.
> 
> ---- Cris J H
> 
> ps.  In case I haven't been clear.  It must be *FREE*, with *SOURCE*, for
> *COMMERCIAL* use.  If we have to "pay" for it, I already have those answers.

-- 
Geir Magnusson Jr.                           [EMAIL PROTECTED]
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
You have a genius for suggesting things I've come a cropper with!

Reply via email to