File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 757
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