Perhaps a bit of "theory" is what you need. When you return a resource such as a file from an Action with a null as the value of the ActionFoward, you do so because the action is called FROM the response or the page which has already been committed and presented to the client. The call to the action needs to reflect this. For example, if the file is an image then it might be made as follows <img src='getImage.do?image=simily_face'>. When you return the resource as Paul suggests, then the imaged is IN the response or the page which is committed or presented to the client. For log presentation, you might want to use a file download. My last submission was a bit mixed up on this. So, there are three options:
file download of log file. browser presentation of log file (Paul) streamed presentation of log file on the browser (Matt) I am not sure what the page code is for the streamed presentation of the log file on the browser and would like to see how you do that myself, Matt. It is probably obvious and I am going to hit my forehead with a piece of cake after seeing it. Jack On Tue, 23 Nov 2004 10:15:50 +0000, andy wix <[EMAIL PROTECTED]> wrote: > Hi, > > I have a requirement to allow the user to view log files in the main body > tile when they click a certain menu item in the 'menu tile'. > > I see on the archives that the normal way to do this is to stream the file > to the response and then return null from the action. What's the approach > taken when using tiles? > > Thanks, > andy > > _________________________________________________________________ > Stay in touch with absent friends - get MSN Messenger > http://www.msn.co.uk/messenger > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "You can't wake a person who is pretending to be asleep." ~Native Proverb~ "Each man is good in His sight. It is not necessary for eagles to be crows." ~Hunkesni (Sitting Bull), Hunkpapa Sioux~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]