|
Disable the buttons. call the servlet. finish the job. call
back a _javascript_ method and enable the button...
Viju
----- Original Message -----
Sent: Wednesday, October 08, 2003 11:21
PM
Subject: AW: Refresh of Servlets
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]
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
___________________________________________________________________________
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
|