摘要: String filePath = "c:/";String fileName = request.getParameter("title"); InputStream inputStream =request.getInputStream(); FileOutputStream outputStream = new FileOutputStream(new File(filePath+fileName+".png"));//int formlength = request.getContentLength();int formlen 阅读全文
posted @ 2012-06-21 20:28 java程序员-c 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 你的action中少写了应用的路径 改成 action="/jspWeb/LoginServlet" 或者 action="/LoginServlet" request.getContextPath()是获取当前应用的路径 阅读全文
posted @ 2012-06-21 09:51 java程序员-c 阅读(116) 评论(0) 推荐(0) 编辑