RE: binary view

2005-04-18 Thread Folashade Adeyosoye
This might be a good case to write a custom tag. -Original Message- From: Daniel Watrous [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 5:20 PM To: user@struts.apache.org Subject: binary view I have an action in my application that generates a PNG image from some text stored

Re: binary view

2005-04-18 Thread Larry Meadors
Why even bother with a jsp? You have the response object in your action, just start spewing data into it. Larry On 4/18/05, Daniel Watrous <[EMAIL PROTECTED]> wrote: > > I have an action in my application that generates a PNG image from > some text stored in a session object. My view is very s

RE: binary view

2005-04-18 Thread Smith, Thad
- From: Daniel Watrous [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 4:20 PM To: user@struts.apache.org Subject: binary view I have an action in my application that generates a PNG image from some text stored in a session object. My view is very simple: <[EMAIL PROTECTED] contentT

binary view

2005-04-18 Thread Daniel Watrous
I have an action in my application that generates a PNG image from some text stored in a session object. My view is very simple: <[EMAIL PROTECTED] contentType="image/png"%> <% java.io.OutputStream os = response.getOutputStream(); java.awt.image.BufferedImage buffer = (java.awt.image.BufferedImag