Well, all things considered, that was one of the most entertaining
emails I've read today!  Thanks for the info, too.  Do you know of any
reference that addresses this, how to map the external directories and
use them in a secure fashion? 


-----Original Message-----
From: Peter Crowther [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 20, 2007 11:42 AM
To: Tomcat Users List
Subject: RE: where to store user-generated files?

> From: Williams, Allen [mailto:[EMAIL PROTECTED] 
> This is probably a dumb question, but: I looked at
> bodington- are you referring to a course or to downloading 
> their system and going 
> through their code to see how they did it?

I'm referring to going through their code - *if* you can face it.
That's quite a big if.  Bodington is a bit odd, as a fair hunk of the
core is >10 years old - it has its own template language, its own
sessions, its own database independence layer... basically it ignores
most of the functionality that's now in the container, as it was written
before these had stabilised.

[sounds of Peter rummaging through the Bodington code]

OK, scratch that.  The code from Bodington probably isn't reusable in
any sensible timeframe unless you also want a complete way of storing a
file structure in a database (so the structure's in the database, but
the bytes in the files are stored outside, possibly with mangled names
to deal with characters that are illegal on the particular platform).
If you do, try org.bodington.server.UploadedFileSessionImpl and its
dependencies - and prepare to enter looking-glass land!

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to