Jan Behrens wrote:
hi list,
i am trying to figure out a way to use the model-view-controller paradigm to dynamicaly reload a jsp page when the underlying object has been changed by another user. i would like to achive this without having to use a separate servlet however...
any ideas, tips or links would be very much appreciated
There's no way for the HTML stream that has been sent by the server to the user agent to "know" when something has happened on the server side without the user-agent being prompted to re-check the server. However, you can keep an open connection to the user-agent and send it new data when necessary -- it is complicated but someone recently posted a link to this article on the subject (this is called "pushlets"):
http://www.javaworld.com/javaworld/jw-03-2000/jw-03-pushlet.html
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
