Eclipse版本
Eclipse Java EE IDE for Web Developers.
Version: Oxygen.1a Release (4.7.1a)
Build id: 20171005-1200
(c) Copyright Eclipse contributors and others 2000, 2017. All rights reserved. Eclipse and the Eclipse logo are trademarks of the Eclipse Foundation, Inc., https://www.eclipse.org/. The Eclipse logo cannot be altered without Eclipse's permission. Eclipse logos
are provided for use under the Eclipse logo and trademark guidelines, https://www.eclipse.org/logotm/. Oracle and Java are trademarks or registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
This product includes software developed by other open source projects including the Apache Software Foundation,
Apache Tomcat/8.5.23
pageEncoding="UTF-8"%>
创建文件夹String dirStr = getServletContext().getRealPath("//");
File dir = new File(dirStr, "students");
%>
在Root下创建一个新的目录:students,
成功创建了吗?
Students是目录吗?
获取文件目录