cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: HTML code shown in browser, not parsed
Date Mon, 01 Sep 2003 08:38:07 GMT
Sonny Sukumar wrote:

>
> Hey thanks for identifying the problem and fixing it.  If I don't 
> specify a mime-type for map:read does it always default to  "text/html"? 


Nope : the ResourceReader (the default one) tries to determine the mime 
type from the extension of the "src" attribute using 
ServletContext.getMimeType().

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com



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


Mime
View raw message