• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

create picture library

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
i wanted to create a picture library using jsp and sql server 2000..
by using the application users can store the photos needed ..it can be viewed by other users..
all i saw is asp code or using ado objects to load a image into db can load a image into db usig jsp..
Thanks in advance.
cheers
 
Sprucerz Wizians
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
a small correction
i wanted to create a picture library using jsp and sql server 2000..
by using the application users can store the photos needed ..it can be viewed by other users..
all i saw is asp code or using ado objects to load a image into db.. can we load a image into db usig jsp???..
Thanks in advance.
cheers
--------------------
 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jsp is not only way in java to write server side applications.
It's rather presentation techology.

So... (Assuming you are not familiar with model1, model2(Struts) etc)

1. create html (perhaps using jsp) form with <input type="file" ..
2. learn how to use "commons-fileuploads".
3. create servlet that stores image from request into db.
4. you can forward to jsp presentation layer after.
 
Sprucerz Wizians
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can u brief on commons-file uploads..please
 
Eugene Lucash
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://jakarta.apache.org/commons/fileupload/

There are documentantions, downloads etc

user guide
http://jakarta.apache.org/commons/fileupload/using.html
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic