The struts1.1 distribution contains a file
jakarta-struts-1.1\webapps\struts-upload.war. This will answer all your
queries.
 
<Manjunath/>
 
-----Original Message-----
From: Gandhi, Snehal Kishore (Cognizant)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 03, 2004 5:21 PM
To: [EMAIL PROTECTED]
Subject: File Upload using Struts
 
Hi all,
    i'm a new bee of struts...
    i want to use the Struts based upload option. 
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    
 
-- 
Snehal K. Gandhi         | Email : [EMAIL PROTECTED] 
Financial Services Group | http://www.cognizant.com
<http://www.cognizant.com/>  
Cognizant Corporation    | Ph:91-44-52096000 
Mobile : +91 98400 57326 | Xtn:8118, Vnet:48128 
 -- The secret to enjoying your job is not to change your job but to
change your attitude..
 

Reply via email to