cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephanie Zohner" <stephanie.zoh...@gmx.at>
Subject Re: Showing plain text files with cocoon
Date Fri, 09 Jan 2004 09:22:13 GMT
Thanks for all your tips!
Deleting the cache finally brought the solution. I#m not sure that I
understand this behaviour, but at least it seems to work, now.

Thanks again,

Stephanie

> On 08.01.2004 21:27, Tim Larson wrote:
> 
> >>>I tried to use the resource reader, like this:
> >>><map:match pattern="*.log">
> >>><map:read type="resource" src="{1}.log" mime-type="text/plain"/>
> >>></map:match>
> >>>
> >>>But this does not work.
> >>>The editor is opened, but then an error message pops up, saying that
> the
> >>>file can not be found.
> >>>The Editor seems to search for the file under "Temporary Internet
> >>>Files/Content.IE5"
> >>>
> >>
> >>try
> >>
> >><map:match pattern="*.log">
> >> <map:read src="{1}.log" mime-type="text/plain"/>
> >></map:match>
> > 
> > 
> > I have this problem also (with IE 5.5), but this did not solve it for
> me.
> > Any other ideas?
> 
> Of course the above propagated solution can not work if the original 
> does not work: resource reader is the default reader, so there is no 
> difference between both. But I don't know why it shouldn't work, tried 
> it and it works (snippet from root sitemap):
> 
> <map:match pattern="*.log">
>    <map:read src="WEB-INF/logs/{1}.log" mime-type="text/plain"/>
> </map:match>
> 
> IE doesn't display the file, but asks me to save it somewhere. So I 
> guess it's simply question of configuration in your windows. The hint 
> with "Temporary Internet Files" also points to the download as all files 
> are downloaded to this directory and later copied to the selected 
> directory. Does deleting the cache help, so that the file can't be found 
> there and the file must be dwonloaded again?
> 
> Joerg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message