摘要:
/***struts2上传 * 1.获得文件名,文件大小等 * 2.获得文件描述 * 3.获得上传文件当前路径 * 4.设值 * 5.重命名到当前路径 * */ public String upload(){ System.out.println(attach.getDesc()); String appPath=ServletActionContext.getServletContext().getRealPath("/"); attach.setUuid(5); attach.setFileName(picFileName); attach.setFileExt(Str 阅读全文
posted @ 2013-04-26 23:42
果然翁
阅读(127)
评论(0)
推荐(0)