}
String[] handlers = resourceConfig.getHandlerNames();
for(int i=0; i<handlers.length; i++){
String handerName = handlers[i];
ResourceHandler handler = handlerMapping.mapping(handerName);
if ( handler == null ){
logger.warn("没有找到名为:" + handerName + "的资源处理器");
continue;
}
try{
handler.handle(res);
}catch(Exception ex){
logger.warn("对资源:" + pUri + "进行:" + handerName + " 处理时出现异常!", ex );
continue;
}
}