图片上传路径问题 左斜线换右斜线
file.transferTo(tmpFile);
String _path = resultDirectory[1] + refileName;
logger.debug("###########before _path:{} file.separator:{}", _path, File.separator);
_path = _path.replaceAll("\\\\", "\
原创
2015-05-27 11:56:07 ·
2395 阅读 ·
0 评论