permaculture playing cards*
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
Author

Regarding Upload a file

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 144
hi,

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: 144
Hi

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Regarding Upload a file
 
Similar Threads
How can I upload a File using Struts
html:form enctype="multipart/form-data"
File upload in struts 2
html:file
upload / download file size limitation????