Hi,
Does anybody know whether it is possible for a HTML-page to send a HTTP request to a
servlet
and to use the response only to perform actions such as writing the actual status (of
the state of an application running at the server)
that was reported by the servlet in the response, but not to reload the HTML page?
This means that the response does not contain any HTML info that will be interpreted
by the browser to reload a page.
The idea: poll the servlet e.g. every 5min to get information if a certain application
is active or not.
A JAVASCRIPT timer could be used to trigger the polling. Then when the response
arrives JAVASCRIPT could perform an action.
But I don't want a new page setup every 5 min: this would be annoying for the user.
So the HTTP request/response should only be used as communication between JAVASCRIPT
of the requesting page and the
servlet and the browser should just pass the information without reloading.
Do U think it is possible or must such things be performed using an applet?
Axel, Lannion/France
___________________________________________________________________________
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