Gilad Tiram <[EMAIL PROTECTED]> a �crit:
>
> Dear All,
>
> I am looking for a method to keep the output stream with the
client-Browser
> open so that It will be possible to dynamically update values in the
HTML
> (Without sending full ,HTML></HTML>  envelop every time).
>
> Does someone have an idea ?
>
> Regards,
> Gilad.

Hi,

my guess would be to have an applet running on the web page you want
to update; this applet should be able to use sockets communication
with the servlet, since the applet comes from the same server as the
servlet (otherwise I think there are limitation problems because of
security).

The first time you send the output, send a full <HTML></HTML> webpage
that launches (includes) the applet.
Then all the servlet should do is communicate with the applet, telling
it to change its TextField values, etc.

Think of it as a client/server application with the servlet on the
server side. It shouldn't be too hard to do with a good book about
Java network programming (O'Reilly, anyone?)

Gilda
_________________________________________________________
�TES-VOUS YAHOO!?
Votre e-mail @yahoo.fr gratuit sur http://courrier.yahoo.fr

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to