hi there;
<p>
currently, i am using servlet to do payment and display the customer information after processing.
<p>
in SERVLET doGet() it will do request.getParameters() and gen random session ID. i set all the var to a object called LOG. sometime, they might have > 1 user connect in concurrently. so, i designed to spawn a thread for handling multi request coming in at the same time. i pass this LOG obj when spawning a thread. inside the THREAD will have few method to do the processsing and also getting information from db. after that, i set the final result to replace the LOG object.
<p>
now, how am i suppose to pass the LOG object from THREAD back to the SERVLET? as i need to print the information like ID, name, etc on the servlet page?
<P>
10;
yoke yew
<p>
currently, i am using servlet to do payment and display the customer information after processing.
<p>
in SERVLET doGet() it will do request.getParameters() and gen random session ID. i set all the var to a object called LOG. sometime, they might have > 1 user connect in concurrently. so, i designed to spawn a thread for handling multi request coming in at the same time. i pass this LOG obj when spawning a thread. inside the THREAD will have few method to do the processsing and also getting information from db. after that, i set the final result to replace the LOG object.
<p>
now, how am i suppose to pass the LOG object from THREAD back to the SERVLET? as i need to print the information like ID, name, etc on the servlet page?
<P>
10;
yoke yew