Results 1 to 2 of 2

Thread: Display images on JSP using Spring MVC

  1. #1
    Join Date
    Jan 2010
    Posts
    18

    Default Display images on JSP using Spring MVC

    Dear All,
    I currently have a domain which stores an image as a byte[] in mysql now I , I tested with JUNIT and it works properly now I would like to connect this domain with my spring MVC app and would like to know:

    1. How to display the stored byte[] image on my JSP page
    2. How to create an upload page to upload an image such as I can convert it to a byte[]

    Please do let me know if there are any frameworks (utilities) or tutorials that would provide some answers to the questions above.

    many thanks,
    Javed

  2. #2
    Join Date
    Jun 2011
    Posts
    7

    Default saving image mysql

    Hi,
    have you tried to bakup and restore your mysql database with blob field ?
    Does it works with img more large then 2,5 mb ?

    regards
    Rita

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •