G
gk
i am connecting to a servlet. i am passing some values from JSP to
servlet. the servlet gets those values from JSP by
request.getParameter(). then the servlet creates Threads as much as
values gives to it.
if the servlet is given 3 values from the JSP, then it would create 3
threads to calculate.
if the servlet is given 10 values from the JSP, then it would create 10
threads to calculate.
each Thread would return results to the JSP.
PROBLEM :
=========
how does my JSP would get the results from the threads. JSP would
refresh in 5 secs interval and would display the latest threads result.
servlet. the servlet gets those values from JSP by
request.getParameter(). then the servlet creates Threads as much as
values gives to it.
if the servlet is given 3 values from the JSP, then it would create 3
threads to calculate.
if the servlet is given 10 values from the JSP, then it would create 10
threads to calculate.
each Thread would return results to the JSP.
PROBLEM :
=========
how does my JSP would get the results from the threads. JSP would
refresh in 5 secs interval and would display the latest threads result.