Hello, i am newbie in java servlet :)
i trying to make simple web based chatting system using servlet. i only
put entry message in vector and after that i put all vector in
Hashtable.
So for updating data in each client browser i use tag <Meta
hhtp-equiv=refresh30;URL=/servlets/HtmlChat?user=panji&room=love"> it's
work, but actually i must waiting for 30 s to get new list message..:)
but there is some problem occur if the page getting refresh, the result
is bad :(. say, when i post the last message total list is 10 and the
servlet generate 10 message, but when the page automaticly getting
refresh and invoke new data, there only 5 data or 3 or 8. so i trying
click the refresh button.. and again its work, the servlet show 11 list.
so my question is there is possible to using meta tag to force servlet
refresh periodically?, or if there is another way.. please kindly inform
me.
regards,
panji
___________________________________________________________________________
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