The problem with cometd is, that it makes use of bayeux and json.<br>The tomcat comet servlet does not seem to have any such advanced functionality.<br>I think have to use plain io.bind.<br>The problem is that I don&#39;t find the right combination of transport etc. to get this working.
<br><br><br>Any ideas?<br><br><div><span class="gmail_quote">2007/6/5, James Burke &lt;<a href="mailto:jburke@dojotoolkit.org">jburke@dojotoolkit.org</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 6/4/07, Bernd Winterstein &lt;<a href="mailto:bernd.winterstein@googlemail.com">bernd.winterstein@googlemail.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt; I have a tomcat 6 CometProcessor servlet which periodically sends messages
<br>&gt; to the client page. Now I&#39;m trying to create a html page with dojo<br>&gt; javascript which shows the received messages. But I don&#39;t find an working<br>&gt; example, and all my attempt lead to errors.<br>
&gt; What is the right transport mode? XmlHttpRequest or IframeTransport?<br><br>dojo.io.cometd is the best bet, but I do not know how to use it.<br><br>James<br>_______________________________________________<br>FAQ: <a href="http://dojotoolkit.org/support/faq">
http://dojotoolkit.org/support/faq</a><br>Book: <a href="http://dojotoolkit.org/docs/book">http://dojotoolkit.org/docs/book</a><br>Forums: <a href="http://dojotoolkit.org/forum">http://dojotoolkit.org/forum</a><br><a href="mailto:Dojo-interest@dojotoolkit.org">
Dojo-interest@dojotoolkit.org</a><br><a href="http://dojotoolkit.org/mailman/listinfo/dojo-interest">http://dojotoolkit.org/mailman/listinfo/dojo-interest</a><br></blockquote></div><br>