code: private CmsJspStandardContextBean getStandardContext(CmsObject cms, HttpServletRequest req) throws CmsException {
  
          CmsJspStandardContextBean standardContext = CmsJspStandardContextBean.getInstance(req);
          standardContext.initPage();
          return standardContext;
      }
docs: Returns the standard context bean.<p>
  
  @param cms the current cms context
  @param req the current request
  
  @return the standard context bean
  
  @throws CmsException if something goes wrong