Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding Upload a file

 
santhosh kumar vk
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
struts file upload
 
bala nannaka
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
with the help of struts upload formfile you can upload the file and can get the size ,content type ....
 
santhosh kumar vk
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic