• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

file uploading and downloading in jsp

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, i've been trying to do file uploading(all kind of files) in jsp since 3 weeks ago,but nothing is working..

Im using apache tomcat 5.0, j2re1.4.2_13 and MySql.. Im doing a report, where the user will create the report and do some file attachment in it. The report will be saved in database, where the report date will be the primary key. So, this report will be view by managers for approval process. So, during the view process, the report should get back the file attachment according to the reportdate from folder.And the file attachments should be able to open and view by the managers. Now, i've create the form, database and it's working well. The only thing pending is the "file attachment" part. I've try a lot of examples, but none is working. It would be great, if someone show me how to do this. I really hope, someone will guide me as soon as possible. My managers are chasing me for this report. Please help me..
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can try and explore implementing Blob interface (1.4.2 supports) which stores the 'B'inary 'L'arge 'OB'jects as a row in your Database, Bigtable, Datastore and so on.
 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you read the JSP FAQ entry on this subject?
 
jaya krish
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bear Bibeault:
Have you read the JSP FAQ entry on this subject?



nop..
 
Bear Bibeault
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well then, I guess our work here is done.
 
Are we home yet? Wait, did we forget the tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic