thanks sean,
The Servlet get the order id from jsp, the problem comes
when: Multiple users use the same function at one moment at the same time using the same jsp and same servlet with diffrent order id, assume:
user (1) user id 00000001 and user (2) 00000002 (3) and simaliary 4,5,6,7. Now users get diffrents order ids coz the servlet users global data. the i put all the global data into the servlets doGet(), but stil get the same result, i put the entire doGet() code in the synchronize(this)scope, but get the same result. I is really dissapointing as the have declated functions in the servlet now i have to pass each data type as a
parameter to the function and then i end up with a long set of parameter list, then i realised i am coding C not
java. I also used the Single Threaded Model but the same result. After the jsp page is loaded with diffrent id the data is submitted to
another servlet again the same result, with all the data again in the doGet(). Can you suggest and diffrent model or coding style or a diffrent technique in the threading, I my self am trying, I am questioning the java servlet it is disappointing.
i have to write everything in a single doGet() method.
thanks.