Re: Rendering Images

2004-06-17 Thread mike
At 09:31 AM 6/17/2004, Niall Pemberton wrote: Firstly, I found this like helpfull: http://www.mnot.net/cache_docs/ Niall, Thanks, Niall, this was very helpful. You information led me to the granddaddy of all information on this: http://www.ietf.org/rfc/rfc2616.txt. This document tells it

Re: Rendering Images

2004-06-17 Thread Niall Pemberton
ailing List" <[EMAIL PROTECTED]>; "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 17, 2004 6:31 AM Subject: Re: Rendering Images > Hi, Niall, > > Could you amplify on your note about "the right headers"? Thanks! I hope > to learn

RE: Rendering Images

2004-06-17 Thread Guillermo Meyer
o the template (like sizes, etc). Cheers. Guillermo. -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: MiƩrcoles, 16 de Junio de 2004 11:34 p.m. To: Struts Users Mailing List Subject: Re: Rendering Images No! :-( This wouldn't be as simple as just adding an "ima

Re: Rendering Images

2004-06-16 Thread mike
IS" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 5:15 PM Subject: RE: Rendering Images > YES! ;-) > > -Original Message- > From: Linck, Ken [mailto:[EMAIL PROTECTED] > Sent: Wednesday, Jun

Re: Rendering Images

2004-06-16 Thread Niall Pemberton
n that action, caching could still occur. Niall - Original Message - From: "CRANFORD, CHRIS" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 5:15 PM Subject: RE: Rendering Images > YES! ;

RE: Rendering Images

2004-06-16 Thread mike
:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 11:14 AM To: Struts Users Mailing List; Struts Users Mailing List Subject: RE: Rendering Images I forgot. I have the entire solution I use at the struts wiki at http://wiki.apache.org/struts/StrutsCatalogEschewUrlForProtocol. All you have to do is to

RE: Rendering Images

2004-06-16 Thread CRANFORD, CHRIS
YES! ;-) -Original Message- From: Linck, Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 11:57 AM To: Struts Users Mailing List Subject: RE: Rendering Images On a sidenote, it would be kind of nice to add some kind of imageNotFound property to the tag where you could

RE: Rendering Images

2004-06-16 Thread Linck, Ken
:48 AM To: Struts Users Mailing List; 'Struts Users Mailing List' Subject: RE: Rendering Images I should say also, Jacob, that if you think the simple "URL" or "protocol" is important and you wanted to complicate the code you could easily change the request in the respo

RE: Rendering Images

2004-06-16 Thread Linck, Ken
Subject: RE: Rendering Images I forgot. I have the entire solution I use at the struts wiki at http://wiki.apache.org/struts/StrutsCatalogEschewUrlForProtocol. All you have to do is to examine the input and give a different output for your problem. I use Wendy's get the data right solution,

RE: Rendering Images

2004-06-16 Thread mike
mages/hello.gif you can write: /resource.do?file_type=gif&file_name=hello.gif ?? -Original Message- From: mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 10:14 AM To: Struts Users Mailing List; Struts Users Mailing List Subject: RE: Rendering Images I forgot. I have the entire sol

RE: Rendering Images

2004-06-16 Thread mike
o: Struts Users Mailing List; Struts Users Mailing List Subject: RE: Rendering Images I forgot. I have the entire solution I use at the struts wiki at http://wiki.apache.org/struts/StrutsCatalogEschewUrlForProtocol. All you have to do is to examine the input and give a different output for your proble

RE: Rendering Images

2004-06-16 Thread Hookom, Jacob
10:14 AM To: Struts Users Mailing List; Struts Users Mailing List Subject: RE: Rendering Images I forgot. I have the entire solution I use at the struts wiki at http://wiki.apache.org/struts/StrutsCatalogEschewUrlForProtocol. All you have to do is to examine the input and give a different o

RE: Rendering Images

2004-06-16 Thread mike
a great option but at least as simple I think. Not sure if you consider it more flexible or not. Hope you find what your looking for. -Original Message- From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 4:44 PM To: '[EMAIL PROTECTED]' Subject: RE: R

RE: Rendering Images

2004-06-16 Thread mike
no? -Original Message- From: Linck, Ken To: [EMAIL PROTECTED] Sent: 6/15/2004 2:32 PM Subject: RE: Rendering Images Just curious but why not just manually make this file once and return it when a real image is not found on disk? Why bother creating one on the fly every time? Is i

RE: Rendering Images

2004-06-15 Thread Linck, Ken
ible or not. Hope you find what your looking for. -Original Message- From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 4:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Rendering Images Ken, That is what I'd like to do. Have an image which is rendere

RE: [OT] RE: Rendering Images

2004-06-15 Thread mike
This solution, Wendy, is just a less sophisticated version of what I said. I think this is the way to go, however. Not that the exist() method of File works for files on "foreign" computers. Michael At 03:13 PM 6/15/2004, Wendy Smoak wrote: > From: Hookom, Jacob [mailto:[EMAIL PROTECTED] > Act

RE: [OT] RE: Rendering Images

2004-06-15 Thread mike
That does not make any difference, Wendy. Granted that if you want to collect a resource with a URL that is different than using a file system protocol in some senses. However, for purposes of what I said, it makes no difference. The code I get these images with in fact is the following (sub

RE: [OT] RE: Rendering Images

2004-06-15 Thread Hookom, Jacob
quot;don't buy a dog and bark yourself" -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 5:14 PM To: Struts Users Mailing List Subject: RE: [OT] RE: Rendering Images > From: Hookom, Jacob [mailto:[EMAIL PROTECTED] > Actually, I

RE: [OT] RE: Rendering Images

2004-06-15 Thread Wendy Smoak
> From: Hookom, Jacob [mailto:[EMAIL PROTECTED] > Actually, I think you can do this pretty easily with CSS... Here's a thread that might be helpful... http://www.webmasterworld.com/forum91/1871.htm -- Wendy Smoak - To unsubscr

RE: [OT] RE: Rendering Images

2004-06-15 Thread Hookom, Jacob
Actually, I think you can do this pretty easily with CSS... Do all your images have the same dimensions? -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 4:34 PM To: Struts Users Mailing List Subject: RE: [OT] RE: Rendering Images > From: m

RE: [OT] RE: Rendering Images

2004-06-15 Thread Wendy Smoak
> From: mike [mailto:[EMAIL PROTECTED] > I deliver all resources with the following code (you have to > fill in some > details). You can easily see where you can test for the > availablitlity of > the image. Anyway, you can always test with, as I said > before the exists() method of the Fil

Re: [OT] RE: Rendering Images

2004-06-15 Thread mike
I deliver all resources with the following code (you have to fill in some details). You can easily see where you can test for the availablitlity of the image. Anyway, you can always test with, as I said before the exists() method of the File class. public class InitResponse { public InitRes

RE: [OT] RE: Rendering Images

2004-06-15 Thread CRANFORD, CHRIS
ing List Subject: [OT] RE: Rendering Images > From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] > That is what I'd like to do. Have an image which is > rendered in the case > when the defined image cannot be loaded. the problem I have > is that our > database record says th

[OT] RE: Rendering Images

2004-06-15 Thread Wendy Smoak
> From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] > That is what I'd like to do. Have an image which is > rendered in the case > when the defined image cannot be loaded. the problem I have > is that our > database record says that an image should exist, but the > manufacturer/supplier didn't

RE: Rendering Images

2004-06-15 Thread Hookom, Jacob
[mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 3:44 PM To: '[EMAIL PROTECTED]' Subject: RE: Rendering Images Ken, That is what I'd like to do. Have an image which is rendered in the case when the defined image cannot be loaded. the problem I have is that our database record s

RE: Rendering Images

2004-06-15 Thread CRANFORD, CHRIS
Linck, Ken To: [EMAIL PROTECTED] Sent: 6/15/2004 2:32 PM Subject: RE: Rendering Images Just curious but why not just manually make this file once and return it when a real image is not found on disk? Why bother creating one on the fly every time? Is it different from request to request? W