tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arion Yu <ario...@stt.com.hk>
Subject Some suggestion on multipart support
Date Wed, 12 Jul 2000 01:50:20 GMT
Hi!

I think the support for multipart is necessary for those who want to
build a simple application with Tomcat (but no others). This one should
be a standard, although you can use what you have existing (like using
JavaMail or Jason's code). My propose is:

For file in the multipart, create a temporary file for the content, and
store the file name, type in an object (maybe a class called
UploadedFile), the user may get the inputstream of the file and store it
somewhere (in DB or other permanent file)

I already have some experience in parsing Multipart post data like this:

files are named 1, 2, 3 and so on
file names, file types and sizes are stored in the database.

Any suggestion?

Arion

--
[This email and any files transmitted with it are confidential and may
contain information that is legally privileged. They are intended solely
for the addressee(s). Access to this email by anyone else is
unauthorized. If you are not the intended recipient, please delete it
and notify the sender by email immediately; you should not copy or use
it for any purpose, nor disclose its contents to any other person. Thank
you.]



Mime
View raw message