You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ling Kok Choon <ko...@brel.com> on 2003/12/03 11:51:19 UTC

[Cocoon 2.1] Read rtf file

Greetings,

   I have a very basic problem with cocoon 2.1, where when i try to download / read a *.rtf file 
from browser, the browser popup a error download dialog. This happen once only every time after 
i reboot the tomcat. What could be problem ?

here is my sitemap.xmap

..
..
  <map:match pattern="**.rtf">      	      		        
       	<map:read src="{1}.rtf" mime-type="application/rtf"/>  
  </map:match>
..
..

fyi: I use tomcat 4.1.18 and jdk1.4.1

Thank you.

cheers,
Kok Choon.

--------------------------------------------------------
Ling Kok Choon                         kokchoon@brel.com
Brel Software Pte Ltd                  Tel: 65-6272-6800
Blk 1003 Bukit Merah Central           Fax: 65-6272-2811
#07-01                                 http://www.brel.com
Singapore 159836                       12/03/03 18:51:19
                    
           Pls call us for the following services
         Web Creation, Web, Email & Domain Hosting
           Java Devt B2B B2C ASP CMS E-Commerce

--------------------------------------------------------


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