How to display image in jsp saved in db using spring and hibernate
How to display image in jsp saved in db using spring and hibernate: I assume you know how to integrate spring with hibernate and how to write simple CRUD operation code using it please Click here for spring-hibernate integration example. In Jsp/html page ------------------------------------------------------------------------------------------------------------------------- <!DOCTYPE> <html> <head> </head> <body> <img src=" getImagefromDB?personid=20 " width="400" height="400" alt="image"> </body> </html> This getImagefromDB url must match in controller For example purpose I have taken persoonid as "20". In real-time project you must send this id dynamically as: <img src=" getImagefromDB?personid=${ pid } " width="400" height="400" alt="image"> In controller write the method to get that image from D...