This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Storibg binary data in blog + mysql

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic