Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts Users »

RE: File Upload using Struts

Manjunath Bhat

2004-02-03


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:gsnehal@(protected)]
Sent: Tuesday, February 03, 2004 5:21 PM
To: struts-user@(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 : gsnehal@(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..

©2008 junlu.com - Jax Systems, LLC, U.S.A.