You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christoph Kukulies <ku...@gilberto.physik.rwth-aachen.de> on 2001/04/20 17:18:22 UTC

file upload servlet

Is there an example somewhere for a servlet that allows for uploading
and processing a file.

Scenario: client (browser side) has edited a file with some information
or some kind of excel or Word document and need to get that processed.

The idea is to simply drag and drop the document into the broswer window
and upload it to the server fopr processing.
If that's too complicated (e.g. requiring swing or something)
it would be sufficient if the client could be advised to 
open some kind of file selector or browser to select the file to be uploaded
and send it upstream.

What requisites would be required for this?


-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de


RE: file upload servlet

Posted by Robert Stehwien <ro...@customercentrix.com>.
> Is there an example somewhere for a servlet that allows for uploading
> and processing a file.
>

Check out http://www.servlets.com/cos/.  There is a package that helps you
with multipart posts and has some nice documentation and samples.

> Scenario: client (browser side) has edited a file with some information
> or some kind of excel or Word document and need to get that processed.
>
> The idea is to simply drag and drop the document into the broswer window
> and upload it to the server fopr processing.
> If that's too complicated (e.g. requiring swing or something)
> it would be sufficient if the client could be advised to
> open some kind of file selector or browser to select the file to
> be uploaded
> and send it upstream.
>
> What requisites would be required for this?
>
>
> --
> Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
>
>


RE: file upload servlet

Posted by Jim Alemany <ja...@cisco.com>.
jspsmart upload. Its a bean. works nicely.

Found at www.jspsmart.com (its a free bean too).

-----Original Message-----
From: Christoph Kukulies [mailto:kuku@gilberto.physik.rwth-aachen.de]
Sent: Friday, April 20, 2001 11:18 AM
To: tomcat-user@jakarta.apache.org
Subject: file upload servlet



Is there an example somewhere for a servlet that allows for uploading
and processing a file.

Scenario: client (browser side) has edited a file with some information
or some kind of excel or Word document and need to get that processed.

The idea is to simply drag and drop the document into the broswer window
and upload it to the server fopr processing.
If that's too complicated (e.g. requiring swing or something)
it would be sufficient if the client could be advised to
open some kind of file selector or browser to select the file to be uploaded
and send it upstream.

What requisites would be required for this?


--
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de