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

@param req
请求对象
@return 字符串表
获取当前请求对象的字符串表