wood burning stoves 2.0*
The moose likes JDBC and the fly likes Storibg binary data in blog + mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Storibg binary data in blog + mysql" Watch "Storibg binary data in blog + mysql" New topic
Author

Storibg binary data in blog + mysql

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
Hi following is the code in my servlet which will call a funtion of my java class the function will store the regular file in database table and i dont have any idea how to store the image in database table in blog field...

can anybody put some light on it ???

Servlet Code which will call java class method.




java class files method which is being called with the parameeter ArrayList to store regular fields and image in the database.



right now my images are being stored as D:/test.jpg //overwriting everytime...if there is image...
[ March 20, 2007: Message edited by: Jigar Naik ]

Jigar Naik


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Storibg binary data in blog + mysql
 
Similar Threads
Accepting File Uploads to Server
Submit multipart and form data
resizing image....
Storing image in blog fileld of mysql database
Displaying image which is outside my web application