I tried specifying the mime-type, but it doesn't work either. Everything used to work without specifying mime types, so should that really be necessary?


From: "Upayavira" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: HTML code shown in browser, not parsed
Date: Sun, 31 Aug 2003 06:09:00 +0000

use <map:read src="xxxx" mime-type="text/html"/>

Regards, Upayavira

On Sat, 30 Aug 2003 15:43:27 -0700, "Sonny Sukumar"
<[EMAIL PROTECTED]> said:
>
> Hi guys,
>
> I just noticed this strange behavior today..
>
> When I do an internal redirect to a trivially simple pipeline that just
> does
> a map:read to read an HTML document, then the actual HTML code for that
> doc
> is shown in my browser. Here's an example sitemap snippet:
>
> <map:match pattern="doSomething">
> <!-- Do some things -->
> <map:redirect-to uri="cocoon:/readStaticHtmlDoc"/>
> <map:match>
>
> <map:match pattern="readStaticHtmlDoc">
> <map:read src="myapp/html_files/someFile.htm"/>
> </map:match>
>
> Note that invoking "readStaticHtmlDoc" works just fine. Can anybody
> explain
> this?
>
> I upgraded to Cocoon 2.1.1-dev yesterday, and I'm on Tomcat 4.1.17 with
> JDK
> 1.4.2_01. I think it has to be a Cocoon-related thing though, whether my
> fault or a bug. It's probably my fault somehow, but it's never happened
> before.
>
> Thanks,
>
> Sonny
>
> _________________________________________________________________
> MSN 8: Get 6 months for $9.95/month http://join.msn.com/?page=dept/dialup
>
>
> ---------------------------------------------------------------------
> 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]


_________________________________________________________________
Enter for your chance to IM with Bon Jovi, Seal, Bow Wow, or Mary J Blige using MSN Messenger http://entertainment.msn.com/imastar



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



Reply via email to