You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Gandhi, Snehal Kishore (Cognizant)" <gs...@chn.cognizant.com> on 2004/02/03 12:51:19 UTC

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 : gsnehal@chn.cognizant.com 
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..