Hi all
I'm developing a webpage which uses xml to display organization chart. I'm using SVG
to display the chart in IE. If the user doesn't have SVG viewer I'm converting SVG to
JPG using BATIK. At present I'm creating a image file in a temp folder and then
displaying, but i want to avoid thi
Create an Action whose execute method writes the image data directly to the
response's output stream and then returns null (you could also use a servlet or
filter).
Quoting Yoganarasimha G <[EMAIL PROTECTED]>:
>
> Hi all
>
> I'm developing a webpage which uses xml to display organization chart
Kris Schneider wrote:
Create an Action whose execute method writes the image data directly to the
response's output stream and then returns null (you could also use a servlet or
filter).
Don't forget that, in HTML images are retrieved (by the client) in
*separate* requests. You can't intermix
Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, October 27, 2003 9:17 AM
Subject: Re: specifying image source as jpg stream
> Kris Schneider wrote:
>
> >Create an Action whose execute method writes the image data directly to
the
> >response's output stream and then
Max Cooper wrote:
You may want to write a separate servlet to serve the image data. That
allows you to implement getLastModified() and allow proper browser-caching
support, which can significantly increase the speed of your pages if the
user is likely to view the images more than once. We did this
AM
To: Struts Users Mailing List
Subject: Re: specifying image source as jpg stream
Max Cooper wrote:
>You may want to write a separate servlet to serve the image data. That
>allows you to implement getLastModified() and allow proper browser-caching
>support, which can significantly inc
6 matches
Mail list logo