Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

photo upload using jsp

 
geomar lubaton
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you upload a photo in jsp? And I also have to save it in my database... i used postgresql. Can anyone please help me.. I really need to finish my webapp asap. Thanks.
 
Smitha Kochunny
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Try using UploadBean (http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html).

Thank You,
Smitha.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://jakarta.apache.org/commons/fileupload/.
And for database stuff please post in JDBC Forum. You will find better answers there.
Thanks.
 
deshdeep divakar
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this

Change Table name and attribute names as per ur requirments
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic