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

Gabrielle,

Iannetti, Gabriele wrote:
> now I know it's up to use pure Java API for this,
> and unfortunately not the servlet engine API.

The servlet API doesn't have anything in it that doesn't have to do with
serving dynamic requests. I'm not sure what you were looking for.

> So I have to use a web server to automate the process of storing files for my 
> purpose.

Not necessarily. You can still use Tomcat. You just need to (as many
others on the list have asked about and ultimately implemented) write a
servlet that can serve your uploaded content for you. Just upload the
files into some other directory, and then have your servlet read them
out of that directory. Feel free to use additional paths, etc. (meaning
that you don't need to put every single file in a flat directory).

You should be able to change your "other API" to use a URL that does a
loop-back request to Tomcat asking for the files, rather than a URL that
points to a file on the disk.

Hope that helps,
- -chris

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

iD8DBQFHAP/59CaO5/Lv0PARAsPbAJ0eTw8Ai5GoG0rQygmweE5+rIeVEgCfWOFf
wcKhCMf8NhP9QW2ehq0nTFA=
=RG8V
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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