How JSP can dynamically disply the Calling status of the server
Hi,
I have written a program which simulate a phone call where it starts to establish a call for 10 seconds with callStatus = "Calling". After 10 seconds, the call is connected and the callStatus="Connected" for about 10 seconds. After 10 seconds, the callStatus="End Call". This simulation is done by a thread without invoking any special connection. It just stays in a loop for different calling stages.
To initiate this, a main.jsp page calls to AttemptCall.java program and a thread is created to intiate the job as mentioned above. While this job is running, a callStatus.jsp page is return to the client. How can the callStatus.jsp is able to display the calling status from "Calling" to "Connected" and "Call End" . And if the Call status is ended with "Call End" , how what the callStatus.jsp automatically direct to a CallEnd.jsp page?
I have no idea, how callStatus.jsp is able to capture the call status and auto direct to CallEnd.jsp. Please Guide. Do I need to establish any special remote connections or requires JavaScript to handle this with JSP.
Thank you

