> If you put a static wml file in tomcat, can you see it in your WAP-phone 
> (not going via cocoon)? Maybe Tomcat needs to be configured for wml?
> 
> If you access the wml file via a browser or telnet, can you see the wml?
> 

If I put a static wml file (test.wml) for example into the
~/webapps/tomcat-docs/
directory everything works fine.
If I put the same file into ~/webapps/cocoon/test/
and write the follwing lines into the sitemap, I receive an empty document 

<map:match pattern="test/test.wml">
  <map:generate src="test/test.wml"/>
  <map:serialize type="wml"/>
</map:match>

If I write

<map:match pattern="test/test.wml">
  <map:generate src="test/test.wml"/>
  <map:serialize type="html"/>
</map:match>

I receive a file with my wml code. But of course of the html serialization I
haven't access to the file with a wap device only with a html browser.

Why doesn't it work? I don't really understand where I am wrong.
Any more suggestions?

Regards,
Zein

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to