ok cool thanks that helped it works almost as desired now.....
Why is it that when open 2 windows of my browser of this
servlet they share the same balance ? I was under the impression that it should not behave this way - they (the separate windows) should be separate and have independent session values ? So the if I deposit 100 into the first Window then deposit 400 in the second Window, the second Widow should have a balance of 400 not 500 like it is doing now. Hope this makes sense to you .
How do i get it to not react in that way, my guide lines in my course work say that if I open a second instance of my browser the 2 threads should not interfere with each other. Also I should not use synchronization only sessions to do this, I am not to sure if that is even possible, if it is how would I go about doing this ?
My code so far:
Thanks