EbaseSystem.getServletContext

Returns the servlet context which can be used to get/set global attributes. This method can be used in all cases including the execution of scheduled forms.

Javascript example:

 var context = system.getServletContext();
 context.setAttribute("attr1", myobj);
 var o = context.getAttribute("attr2");
 

returns javax.servlet.ServletContext