摘要:
/** * 文件上传 * * @author cary * @since 2012-12-19 下午2:22:12 */public class FileUploader { static final String UPLOAD_PATH_KEY = "upload.dir"; private static Logger logger = Logger.getLogger(FileUploader.class); /** * 定义允许上传的文件扩展名 */ private Map<String, String> extMap = new HashMap... 阅读全文