Skip to main content

push data into browser

1 reply [Last post]
mdebac
Offline
Joined: 2007-07-10
Points: 0

Hi,

I was trying to enable comet application from
http://weblogs.java.net/blog/jfarcand/archive/2006/07/the_grizzly_com.html

but it is to much complicated, for my little example;

I only want to push new number in browser increesed by 1, every two second.
Can I use grizzlet - but how?
How can I incorporate grizlet with servlet?

Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
carlavmott
Offline
Joined: 2005-02-10
Points: 0

Did you look at the comet example that is part of the jMaki standalone bundle? There we push a string to the client. See the download page, https://ajax.dev.java.net/download.html and download the Java- jmaki-java-1.8.0-beta.zip file.

Carla