-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ken,

On 4/19/2010 6:43 PM, Ken Bowen wrote:
> Thanks for all the responses.
> 1.  After posting the original, I thought about it all at lunch, and was
> leaning towards the db solution, and Chris firmly pushed me over on
> that.  Now I just convert the byte stream to a (sometimes big) string

Just remember to properly handle the character encoding. Good luck with
that.

> and stuff it in a temporary db place using the user's login and the
> current-time-in-millis as a combined key.  The I sendRedirect to
> nextPage.jsp?t=<current-time-in-millis> and do all the work at that page.

I would send the id of the CLOB in the database to that page rather then
the time in millis just in case more than one file was uploaded at the
same instant.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvM7x4ACgkQ9CaO5/Lv0PDDoQCePd6ZNcbALIREAviEdRgAdL7l
kKsAmQEY0b6bVybi2p8rIrC97AlbfDvE
=pH3f
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to