Hi. I have to write a servlet which must be integrated in a frame of an html page.
This servlet call methods of another class that may call some events.
I want to catch these event in the servlet because the html page must automatically change depending on the state.
How can i do this?
I try to resolv my problem setting the events in a variable of the class and reading that in the servlet. So I can change the page controlling this value and refreshing the html page periodically. but, is there another method to do that without refreshing?
Thanks.