File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Regarding Upload a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Regarding Upload a file" Watch "Regarding Upload a file" New topic

Regarding Upload a file

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 151

I am new to struts i do not know how to upload files and download files using struts and also we need to show the size of the file can you send me any coding or related link.

Thanking You.

Lorand Komaromi
Ranch Hand

Joined: Oct 08, 2009
Posts: 276
struts file upload

OCJP 6 (93%)
bala nannaka
Ranch Hand

Joined: Apr 02, 2007
Posts: 49
with the help of struts upload formfile you can upload the file and can get the size ,content type ....
santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 151

I have one doubt in upload a file using struts that is how to insert a file or image into database after upload a file using struts 1.1 and how to download or view,we are using database IBM Db2 please give me some example using struts with db2.

Thanking You
I agree. Here's the link:
subject: Regarding Upload a file
It's not a secret anymore!