Sharing HashMap across a JSP app in a clustered environment
Yes, we did similar thing for one of our project, sharing ServletContext amongst all clustered nodes on weblogic server
Check below parameter for weblogic
coherence-servletcontext-clustered
Either true or false to indicate whether the attributes of the ServletContext will be clustered. If true, then all serializable ServletContext attribute values will be shared among all cluster nodes.
If unspecified, defaults to false, primarily because the Servlet specification indicates that the ServletContext attributes are local to a JVM and should not be clustered.
For more details refer http://docs.oracle.com/cd/E13924_01/coh.340/e14408/appparams.htm