Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 7485 invoked from network); 3 Feb 2004 11:49:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Feb 2004 11:49:08 -0000 Received: (qmail 86565 invoked by uid 500); 3 Feb 2004 11:48:35 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 86525 invoked by uid 500); 3 Feb 2004 11:48:34 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 86496 invoked from network); 3 Feb 2004 11:48:34 -0000 Received: from unknown (HELO ctsincsisxia.cts.com) (202.54.64.136) by daedalus.apache.org with SMTP; 3 Feb 2004 11:48:34 -0000 Received: from 10.237.5.50 by ctsincsisxia.cts.com (InterScan E-Mail VirusWall NT); Tue, 03 Feb 2004 17:21:19 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-a1453058-d515-418d-897b-da5183604c93" Subject: File Upload using Struts Date: Tue, 3 Feb 2004 17:21:19 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: File Upload using Struts Thread-Index: AcPqTAiWX3GIJUj+THOfi5ahWW9uRw== From: "Gandhi, Snehal Kishore (Cognizant)" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-a1453058-d515-418d-897b-da5183604c93 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3EA4C.096503D8" ------_=_NextPart_001_01C3EA4C.096503D8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, i'm a new bee of struts... i want to use the Struts based upload option.=20 1. What should be the data type in my ActionForm? 2. How will i get the FileObject in my action class? and How can i pass the file to the Server? 4. if any sample upload code using struts would be really very helpful? thanx in advance.. --Snehal =20 =20 --=20 Snehal K. Gandhi | Email : gsnehal@chn.cognizant.com=20 Financial Services Group | http://www.cognizant.com = =20 Cognizant Corporation | Ph:91-44-52096000=20 Mobile : +91 98400 57326 | Xtn:8118, Vnet:48128=20 -- The secret to enjoying your job is not to change your job but to = change your attitude.. =20 ------_=_NextPart_001_01C3EA4C.096503D8 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,
    i'm a new bee of=20 struts...
    i want to use the Struts = based=20 upload option.
1. What=20 should be the data type in my ActionForm?
2. How will=20 i get the FileObject in my action class?
and How can=20 i pass the file to the Server?
4. if any=20 sample upload code using struts would be really very=20 helpful?
thanx in=20 advance..
--Snehal    =
 

--
Snehal K. = Gandhi         | Email=20 : gsnehal@chn.cognizant.com 
Financial Services Group | http://www.cognizant.com 
Cognizant=20 Corporation    | Ph:91-44-52096000
=
Mobile : +91 98400 57326 | Xtn:8118, = Vnet:48128=20
 -- The secret to enjoying = your job is=20 not to change your job but to change your = attitude..

 
------_=_NextPart_001_01C3EA4C.096503D8-- ------=_NextPartTM-000-a1453058-d515-418d-897b-da5183604c93 Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com ------=_NextPartTM-000-a1453058-d515-418d-897b-da5183604c93 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org ------=_NextPartTM-000-a1453058-d515-418d-897b-da5183604c93--