• Post Reply Bookmark Topic Watch Topic
  • New Topic

create picture library

 
Sprucerz Wizians
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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
  • 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
--------------------
 
Eugene Lucash
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!