Try this:

<map:match pattern="support/*.htc">
   <map:read src="support/{1}.htc" type="resource"/>
</map:match>

where resource is defined within your sitemap, up near the top within the map:readers element:

<map:readers default="resource">
...
<map:reader logger="sitemap.reader.resource" name="resource" pool-size="32" src="org.apache.cocoon.reading.ResourceReader"/>
...
</map:readers>


This is how our project allows access to the .htc file
See the cocoon api for more info:
http://cocoon.apache.org/2.0/apidocs/org/apache/cocoon/reading/ResourceReader.html


-Daniel


Tim Bachta wrote:

I am trying to call a htc file but am not able to get it working.  I
have it mapped in my sitemap like such:

<map:match pattern="support/*.htc">

<map:read mime-type="htc" src="support/{1}.htc"/>

</map:match>



Am I doing this correct?

Tim Bachta






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to