tomcat - How to access the arraylist object safely from different http request in one jsp? -


as might know, every http request jsp file managed 1 thread in tomcat. whenever user access jsp file, 1 thread created in tomcat. need add http request data in 1 global arraylist object different requests , thread access arraylist obect safely , process data , remove data list.

how manage it?


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -