摘要:
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 阅读全文
摘要:
你的action中少写了应用的路径
改成
action="/jspWeb/LoginServlet"
或者
action="/LoginServlet"
request.getContextPath()是获取当前应用的路径 阅读全文