Reputation: 28556
I need to display a BufferedImage object on page. How to do that ? I'm thinking about saving temporary file in WEB-INF and get that image as resource. Is this a right way ?
Upvotes: 1
Views: 1815
Reputation: 81607
What kind of library are you using? If you use Richfaces
, you can use the <a4j:mediaOutput>
component for this kind of things, without generating any external files...
Upvotes: 3