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

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -