code: @SuppressWarnings("unchecked")
      public static Map<String, String> getMessages(ServletRequest req) {
          return (Map<String, String>) req.getAttribute(MSG);
      }
docs: 获取当前请求对象的字符串表
  
  @param req
  请求对象
  @return 字符串表