1 Replies - 4738 Views - Last Post: 06 May 2012 - 11:50 AM

#1 tyma123  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 04-May 12

upload/download file into blob field in database using servlet and Jsp

Posted 06 May 2012 - 11:41 AM

Hi

can anybody help me.i want to upload file(consist of javaclasses)and then when user click on submit button.this file must be saved in blob filed in database.then the user OR another user can view available projects in database and download it.

I want the way of writing the the code of upload and download


thanks in advance..





0
Is This A Good Question/Topic? 0
  • +

Replies To: upload/download file into blob field in database using servlet and Jsp

#2 KYA  Icon User is online

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3105
  • View blog
  • Posts: 19,144
  • Joined: 14-September 07

Re: upload/download file into blob field in database using servlet and Jsp

Posted 06 May 2012 - 11:50 AM

Your question is too broad. Since this was posted in JavaEE, I imagine you want leverage that platform.


So, at a high level, you have three layers:

Presentation: could be written in jsp, or w/e really, accepts user input
Model: Java Servlet to handle the input, connects to the DB, handles transactions
Data: Some DB of your choice

Map out the flow and then starting coding.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1