code: public static void setController(ServletRequest req, CmsFlexController controller) {
  
          req.setAttribute(CmsFlexController.ATTRIBUTE_NAME, controller);
      }
docs: Stores the given controller in the given request (using a request attribute).<p>
  
  @param req the request where to store the controller in
  @param controller the controller to store