This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes inserting passport image into database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

inserting passport image into database

Joe Don
Greenhorn

Joined: Jun 01, 2012
Posts: 9
Hi, i am a beginner in programming and use the netBeans IDE. I have a java form which is sucessfully connected to database. How can user enter passport image into the database? My database is MySQL-oriented. Please, assist me. Thanks.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26173
    
  66

There is a database type called BLOB. You can use JDBC to insert a BLOB/binary stream of the image.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1098

here is a link to your other thread which has the same question.
http://www.coderanch.com/t/582934/Servlets/java/add-passport-image-form
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: inserting passport image into database
 
Similar Threads
How to add a passport image to a form
wants to configure next and previous buttons for database entry !
Resize image when upload ing to the server
thumbnail in jsp