wood burning stoves 2.0*
The moose likes JDBC and the fly likes inserting passport image into database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

inserting passport image into database

Joe Don
Greenhorn

Joined: Jun 01, 2012
Posts: 11
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: 29261
    
140

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: 1106

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://aspose.com/file-tools
 
subject: inserting passport image into database
 
Similar Threads
wants to configure next and previous buttons for database entry !
How to add a passport image to a form
Resize image when upload ing to the server
thumbnail in jsp