This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes How to maintain Aspect Ratio of Image using struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to maintain Aspect Ratio of Image using struts2" Watch "How to maintain Aspect Ratio of Image using struts2" New topic
Author

How to maintain Aspect Ratio of Image using struts2

sri ramvaithiyanathan
Ranch Hand

Joined: Nov 20, 2010
Posts: 109
Hi,

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.

Regards,
Ram


For java examples,ebooks,interview questions,visit this blog
http://periodicupdates.blogspot.com/
sri ramvaithiyanathan
Ranch Hand

Joined: Nov 20, 2010
Posts: 109
Using java i tried it.
If any one want source code for maintaining aspect ratio of the image.
pm me i will send you.

Else kindly move this topic to java category i will post the source code in this forum itself.

Cheers,
ram
sri ramvaithiyanathan
Ranch Hand

Joined: Nov 20, 2010
Posts: 109
Check this link
It will answer your question
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to maintain Aspect Ratio of Image using struts2
 
Similar Threads
struts2
Struts2
Pagination in Struts2
Image component problem.
STRUTS2