• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading Zip file in mysql database(struts 1.3)

 
Bhavesh Kumar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,
I want to upload a zip file into mysql database and then display it on JSP page to dowload it on click even. So I have written code to get that file in struts ... but I don't know how to write code to further store it in MySQL. please suggest me ...

My Action and Model Classes are :

Upload Action Class : MyAction


Form Model Class : MyModel


View JSP : index
 
jatan bhavsar
Ranch Hand
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bhavesh,

try this one .. Seems this will work If not then come back with the proper code and stack trace.



Regards
Jatan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic