Hi,

The way I manage the do this, is to work with scripting (Javascript) in each document 
in each frame : every time a
timer expires a request for an update is made. There are issues if you are concerned 
with synchronizing the content in
each frame.
In that case you can work with a dummy frame (one with very small dimensions), which 
contains the timer code, and
which changes the document URL for all the other frames involved. This way of working 
requires the loading time of the
frames to be shorter than the timer delay, otherwise it looks like there's something 
wrong with your browser :) If you
can not be sure your timer delay is sufficient (let's face you just can't with the 
web), collect all the onLoad events
for each frame before you retrigger the timer.

You can work with a single servlet if you use additional parameters to identify the 
frame, or by some webserver tricks
where you map different names on the same servlet and then recover the referer. But 
I'm not sure about that last bit
:) Seems a bit complicated...

Danny Martens

Hossein Peivareh wrote:

> Hello there.
>
> Does anybody know if it is possible to send various contents to approperiate 
>HTML-frames?
>
> I have a thread in my servlet and every 10 sec. I must send the content 1 to frame 1 
>and the content 2 to frame 2.
>
> Is there a HTML-tag where I can define the target frame name or ...?
>
> Any information, examples, or references would be much appreciated.
>
> Thanks.
>
> HoPe
>
> [EMAIL PROTECTED]
>
> ___________________________________________________________________________
> 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

___________________________________________________________________________
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