Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Storibg binary data in blog + mysql  RSS feed

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 ]
grapes are vegan food pellets. Eat this tiny ad:
Rocket Oven Kickstarter - from the trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!