How to upload a image and store in DB mysql

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mohanPaladi
    New Member
    • Mar 2007
    • 2

    How to upload a image and store in DB mysql

    Hi,
    I want to upload images and store it in db mysql.
    how to do that.
    I am using struts frame work, and Ibatis
    and how to compress the image, if size is more.
    please give any sample examples on this...

    Thanks,
    Mohan
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by mohanPaladi
    Hi,
    I want to upload images and store it in db mysql.
    how to do that.
    I am using struts frame work, and Ibatis
    and how to compress the image, if size is more.
    please give any sample examples on this...

    Thanks,
    Mohan
    Read about blob and imageInputstrea m

    Comment

    • ganga782
      New Member
      • May 2007
      • 1

      #3
      Originally posted by mohanPaladi
      Hi,
      I want to upload images and store it in db mysql.
      how to do that.
      I am using struts frame work, and Ibatis
      and how to compress the image, if size is more.
      please give any sample examples on this...

      Thanks,
      Mohan

      I am facing a similar problem, where I need to upload a word document and store it in db, mySql.
      I am also using Struts framework and iBatis.

      Did you get a resolution for your issue?

      Comment

      Working...