Hi Kailash:

Thank you very much for your suggestion.
I am sure do upload one file to server but are you sure when end user want
upload more files to server at the same time?

Thank you very much for your help,

Nam

----- Original Message -----
From: "Kailash Vasani" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 6:31 PM
Subject: RE: J2EE application - Upload one or more files on client to server


> Hi,
>
> In case u r using Struts
>
> 1) In HTML / JSP page use <INPUT type="file" .../>, this field is where
user
> would be
>    interacting and setting file path. The form containing this button,
must
> have encoding type
>    set to multipart/form-data i.e. enctype="multipart/form-data"
> 2) Create an action class that gets invoked then user clicks submit button
> 3) Use Apache Commons File upload APIs to retrieve form data as well as
> uploaded file.
>
> In case u r not using Struts & using Servlet, then step 2 above changes to
> Creation of Servlet,
> that would do the same.
>
> Thanks & Regards,
> Kailash
>
> -----Original Message-----
> From: Dao Xuan Nam [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 09, 2004 4:36 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: J2EE application - Upload one or more files on client to server
>
>
> Hi all,
>
> In our application, I have to implement a function to upload one or more
> files on client's machine to server? But i do not know how to
> implement it using J2EE technologies such as JSP, Servelet?
>
> Thank you very much
>
> Nam
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Global Leadership in eBusiness and IT services, vertically aligned for
> clients in the automotive/discrete manufacturing, SAP,ERP and powered by
an
> offshore-based global delivery model.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to