I am storing a HashMap object in my ServletContext. But Multiple Request thread are reading and Modifying this HashMap.
As i belive the ServletContext objects are sh
You need to synchronize your ServletContext object. for eg:-
synchronized(ctx){ //your code here }