I want to retrieve image from [oracle 10g] database and display the same in jsp using struts2.
In DB the size of image may be >=1mb
the size of image in jsp while displaying is 768x768.
when the size get changed the aspect ratio of the image also get changed.
kindly guide me how to maintain the aspect ratio of the image using struts2.