(OFBIZ-11129) Avoid unecessary casts by using ‘ServletRequest#getServletContext’ instead of ‘ServletRequest#getAttribute’. This method is available since Servlet specification 3.0. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1862294 13f79535-47bb-0310-9956-ffa450edef68