AW: Refresh of Servlets

Fuchur <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Shalom,

thanks for your quick response.
I use Tomcat V 4.1.27.
Microsoft's IE 6 (i think )
what do you mean with time validity ?

Well it seems to work now. I use this :

        <meta http-equiv="Refresh" content="9">
 but it isn't very comfortable. It refreshes this Servlet every 9 seconds.

My ordinary problem was that i have 4 Buttons and 3 of them should be
disabled
until a thread (opening , writing into and closing a file) is finished. Then
they should be enabled, again.

I tried with javascript but i didn't have a clue how to realize it.
So I defined a variable which is false(buttons are disabled) while thread is
going on and is true(buttons are enabled)
when thread has finished.
SO I just had to refresh the servlet which is focused after the thread is
started and
on which the buttons are ...

Any better idea ?

Hope you could understand what i mean :-)

Regards
Bastian

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]]Im Auftrag von Tomas Hubalek
Gesendet: Mittwoch, 8. Oktober 2003 16:17
An: [email protected]
Betreff: Re: Refresh of Servlets


Which servlet container do you use? which browser do you use? Did you
specify time validity of servlet output?

Tom

> Shalom,
>
> i 'm trying to refresh my servlet, but it won't work.
> I tried with javascript but  it seéms to work only with
> *.html
>
> Any ideas for me, please ?
>
> THX
> Bastian

___________________________________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.