tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <hassan.schroe...@gmail.com>
Subject Re: Saving file
Date Tue, 15 Jul 2008 14:33:30 GMT
On Tue, Jul 15, 2008 at 4:49 AM, stasins <stashals@tut.by> wrote:
>
> Hi. Is there anybody who can explain me how could i configure tomcat server
> for saving files on its webapp using URLConnection or HttpClient. And in
> URLConnection API what Content-Type and Method must be setted?

Sorry, unclear to me -- are you asking about how build a client to
upload files to Tomcat, or how to handle uploaded files in a Tomcat
webapp?

If the latter, see <http://commons.apache.org/fileupload/>; if the former
see Multipart Post <http://hc.apache.org/httpclient-3.x/methods.html>,
though looking at commons-fileupload will probably be useful as well.

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

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


Mime
View raw message