This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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.