RE: specifying image source as jpg stream

2003-11-02 Thread Yoganarasimha G
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 increase

specifying image source as jpg stream

2003-10-27 Thread Yoganarasimha G
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

Re: specifying image source as jpg stream

2003-10-27 Thread Kris Schneider
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. I'm

Re: specifying image source as jpg stream

2003-10-27 Thread Craig R. McClanahan
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

Re: specifying image source as jpg stream

2003-10-27 Thread Max Cooper
] 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 returns null (you could also use a servlet or filter). Don't

Re: specifying image source as jpg stream

2003-10-27 Thread Craig R. McClanahan
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