I would like to know if there is some way to share a variable or an object between two or more Servlets, I mean some \"standard\" way. I suppose that this is not a good prac
Another option, share data betwheen contexts...
share-data-between-servlets-on-tomcat
On myApp1:
ServletContext sc = getServletContext(); sc.setAttribute("attribute", "value");
On myApp2:
ServletContext sc = getServletContext("/myApp1"); String anwser = (String)sc.getAttribute("attribute");