> It basically does the same stuff as Jason Hunter's
> package in regards to the multipart/form-data parsing,
> and it'll make things easier for you if you want to
> write it to the database. I believe it'll still write
> the file to the server _temporarily_ in order to write
> it to the database, but I may be wrong on this.
There's a new and improved com.oreilly.servlet.MultipartParser at
servlets.com that gives you the option to walk the request step by step
and deal with each file as an InputStream if you so desire. You can
send that stream into the database directly. (Thanks to Geoff Soutter
for doing some refactoring work to make this possible.)
> But since you have everything set up with the oreilly
> package, I don't think it'll be horrible if you just
> read the file and write it to the database in an extra
> step, just as long as you remember to delete the file
> on the web server afterwards.
Yes, disk IO tends to be inconsequential.
-jh-
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html