I thought of something and am not sure if my understanding is right...
ONE: (When no synchroniztion is done )
If my servlet has one method (methodA) to iterate and display form 1 to 10 and another method (methodB) to iterate and display from 50 to 60 is it very much possible that the page might display:
and so on? (when it gets multiple requests)
TWO: (when no synchronization is done)
I looked up the PrintWriter documentation and found that println() is not synchronized.
So does it mean that if I have a method (methodA) with pw.println("Hello");
and another method (methodB) with printWriter.println("Welcome")