Lots of people seems to be using a phaseListener to achieve this, instead of a servlet; see [1]

[1]
http://jroller.com/page/cagataycivici?entry=phaselistener_renders_an_image_no

Hansjörg Meuschel wrote:
Hello guys,
I'm currently needing a component serving me any raw content, something like

<tool:serveContent data="#{Bean.rawData}" contentType="image/png"/>

Does anybody know if there is such a component? Would be very useful for example to dynamically generate images, pdf etc. If there is no such component available, I'll implement one the next days ... i thought about using a helper servlet (any better ideas?)

Greets,
Hans





Reply via email to