cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@free.fr
Subject Re: Cocoon and WAP problems
Date Thu, 24 Jun 2004 15:05:43 GMT
Quoting Oro smith <orosmith@sify.com>:

> Oro smith schrieb:
>  Actually when i found that i got the message "invalid wml code" i
> tried to test if it was not valid.
>  
>  I saved the wml being generated to disk ie.cocoon 'mail' directory and
> tried to display it using sitemap.
>  
>      <map:match pattern="test.wml">
>       <map:generate src="test.wml"/>
>       <map:serialize type="wml"/>
>       </map:match>
>  
>  
>  Surprisingly when i went to url
>  http://xxx:8888/mail/test.wml
>  
>  The same TTEmulator displayed this page without error.
>  What can be the reason? 
> 

strange, but try :

 <map:match pattern="test.wml">
   <map:read src="test.wml"/>
 </map:match>

when serving static files.

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


Mime
View raw message