marioosh
marioosh

Reputation: 28556

JSF: How to display BufferedImage on page?

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

Answers (1)

Romain Linsolas
Romain Linsolas

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

Related Questions