File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes image uploading in order to save to database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "image uploading in order to save to database" Watch "image uploading in order to save to database" New topic
Author

image uploading in order to save to database

Constantinos Grevenitis
Ranch Hand

Joined: Nov 29, 2006
Posts: 31
I have a HTML form that I use it in order to add the employees data into a database, and I also a picture of the employee using the <input type="file"> tag. The problem is that I don't know how to get to the file and save it to the data base.
[ November 29, 2006: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60059
    
  65

Have you read the entry regarding file uploading in the JSP FAQ?
[ November 29, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Constantinos Grevenitis
Ranch Hand

Joined: Nov 29, 2006
Posts: 31
To be honest wiht you I don't know for what you are talking about.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60059
    
  65

Can you click on a link? It's in my signature line.
 
Consider Paul's rocket mass heater.
 
subject: image uploading in order to save to database
 
Similar Threads
formatting data, and saving same to external file
hibernate values update
Saving to a text file!
save random numbers
save image into database blob