4、java如何删除目录和文件
程序员文章站
2022-05-15 08:47:35
...
package com.tij.io.file;
import java.io.File;
public class DeleteFolderRecursively {
/**
* use be to delete file
* @param args
*/
public static void main(String[] args) {
String folder = "/Users/GYJ/tomcat";
//deleted folder recursively
recursiveDelete(new File(folder));
}
public static void recursiveDelete(File file) {
if (!file.exists()) {
return ;
} else {
if (file.isDirectory()) {
for (File f : file.listFiles()) {
recursiveDelete(f);
}
}
file.delete();
System.out.println("Deleted file/folder: "+file.getAbsolutePath());
}
}
}
out put=============
Deleted file/folder: C:\Users\GYJ\tomcat\bin\bootstrap.jar
Deleted file/folder: C:\Users\GYJ\tomcat\bin\catalina-tasks.xml
Deleted file/folder: C:\Users\GYJ\tomcat\bin\catalina.bat
Deleted file/folder: C:\Users\GYJ\tomcat\bin\catalina.sh
Deleted file/folder: C:\Users\GYJ\tomcat\bin\commons-daemon-native.tar.gz
Deleted file/folder: C:\Users\GYJ\tomcat\bin\commons-daemon.jar
Deleted file/folder: C:\Users\GYJ\tomcat\bin\configtest.sh
Deleted file/folder: C:\Users\GYJ\tomcat\bin\cpappend.bat
Deleted file/folder: C:\Users\GYJ\tomcat\bin\digest.bat
Deleted file/folder: C:\Users\GYJ\tomcat\bin\digest.sh
Deleted file/folder: C:\Users\GYJ\tomcat\bin\service.bat
Deleted file/folder: C:\Users\GYJ\tomcat\bin\setclasspath.bat
Deleted file/folder: C:\Users\GYJ\tomcat\bin\setclasspath.sh
Deleted file/folder: C:\Users\GYJ\tomcat\bin\shutdown.bat
Deleted file/folder: C:\Users\GYJ\tomcat\bin\shutdown.sh
Deleted file/folder: C:\Users\GYJ\tomcat\bin\startup.bat
Deleted file/folder: C:\Users\GYJ\tomcat\bin\startup.sh
Deleted file/folder: C:\Users\GYJ\tomcat\bin\tcnative-1.dll
Deleted file/folder: C:\Users\GYJ\tomcat\bin\tomcat-juli.jar
Deleted file/folder: C:\Users\GYJ\tomcat\bin\tomcat-native.tar.gz
Deleted file/folder: C:\Users\GYJ\tomcat\bin\tomcat7.exe
Deleted file/folder: C:\Users\GYJ\tomcat\bin\tomcat7w.exe
Deleted file/folder: C:\Users\GYJ\tomcat\bin\tool-wrapper.bat
Deleted file/folder: C:\Users\GYJ\tomcat\bin\tool-wrapper.sh
Deleted file/folder: C:\Users\GYJ\tomcat\bin\version.bat
Deleted file/folder: C:\Users\GYJ\tomcat\bin\version.sh
Deleted file/folder: C:\Users\GYJ\tomcat\bin
Deleted file/folder: C:\Users\GYJ\tomcat\conf\catalina.policy
Deleted file/folder: C:\Users\GYJ\tomcat\conf\catalina.properties
Deleted file/folder: C:\Users\GYJ\tomcat\conf\context.xml
Deleted file/folder: C:\Users\GYJ\tomcat\conf\logging.properties
Deleted file/folder: C:\Users\GYJ\tomcat\conf\server.xml
Deleted file/folder: C:\Users\GYJ\tomcat\conf\tomcat-users.xml
Deleted file/folder: C:\Users\GYJ\tomcat\conf\web.xml
Deleted file/folder: C:\Users\GYJ\tomcat\conf
Deleted file/folder: C:\Users\GYJ\tomcat\lib\annotations-api.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\catalina-ant.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\catalina-ha.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\catalina-tribes.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\catalina.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\ecj-3.6.2.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\el-api.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\jasper-el.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\jasper.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\jsp-api.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\servlet-api.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\tomcat-api.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\tomcat-coyote.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\tomcat-dbcp.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\tomcat-i18n-es.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\tomcat-i18n-fr.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\tomcat-i18n-ja.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib\tomcat-util.jar
Deleted file/folder: C:\Users\GYJ\tomcat\lib
Deleted file/folder: C:\Users\GYJ\tomcat\LICENSE
Deleted file/folder: C:\Users\GYJ\tomcat\logs
Deleted file/folder: C:\Users\GYJ\tomcat\NOTICE
Deleted file/folder: C:\Users\GYJ\tomcat\RELEASE-NOTES
Deleted file/folder: C:\Users\GYJ\tomcat\RUNNING.txt
Deleted file/folder: C:\Users\GYJ\tomcat\temp\safeToDelete.tmp
Deleted file/folder: C:\Users\GYJ\tomcat\temp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\aio.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\api\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\api
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\build.xml.txt
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\deployment.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\installation.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\introduction.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\processes.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\build.xml
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\docs\README.txt
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\docs
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\sample.war
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\src\mypackage\Hello.java
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\src\mypackage
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\src
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\web\hello.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\web\images\tomcat.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\web\images
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\web\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\web\WEB-INF\web.xml
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\web\WEB-INF
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample\web
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\sample
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\source.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev\web.xml.txt
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\appdev
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\apr.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture\overview.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture\requestProcess\requestProcess.pdf
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture\requestProcess\roseModel.mdl
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture\requestProcess
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture\requestProcess.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture\startup\serverStartup.pdf
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture\startup\serverStartup.txt
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture\startup
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture\startup.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\architecture
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\balancer-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\building.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\BUILDING.txt
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\cgi-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\changelog.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\class-loader-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\cluster-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\ajp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\cluster-channel.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\cluster-deployer.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\cluster-interceptor.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\cluster-listener.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\cluster-manager.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\cluster-membership.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\cluster-receiver.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\cluster-sender.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\cluster-valve.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\cluster.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\context.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\engine.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\executor.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\filter.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\globalresources.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\host.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\http.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\jar-scanner.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\listeners.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\loader.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\manager.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\realm.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\resources.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\server.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\service.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\systemprops.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config\valve.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\config
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\connectors.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\default-servlet.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\deployer-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\developers.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\elapi\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\elapi
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\extras.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\funcspecs\fs-admin-apps.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\funcspecs\fs-admin-objects.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\funcspecs\fs-admin-opers.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\funcspecs\fs-default.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\funcspecs\fs-jdbc-realm.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\funcspecs\fs-jndi-realm.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\funcspecs\fs-memory-realm.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\funcspecs\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\funcspecs\mbean-names.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\funcspecs
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\html-manager-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\add.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\asf-logo.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\code.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\design.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\docs.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\fix.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\printer.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\tomcat.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\tomcat.svg
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\update.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images\void.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\images
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\introduction.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\jasper-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\jndi-datasource-examples-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\jndi-resources-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\jspapi\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\jspapi
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\logging.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\manager-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\maven-jars.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\mbeans-descriptor-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\monitoring.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\proxy-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\realm-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\RELEASE-NOTES.txt
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\RUNNING.txt
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\security-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\security-manager-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\servletapi\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\servletapi
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\setup.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\ssi-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\ssl-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\tribes\developers.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\tribes\faq.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\tribes\interceptors.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\tribes\introduction.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\tribes\membership.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\tribes\setup.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\tribes\status.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\tribes\transport.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\tribes
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\virtual-hosting-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\WEB-INF\web.xml
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\WEB-INF
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\windows-auth-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs\windows-service-howto.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\docs
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\async\async1.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\async\async1.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\async\async3.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\async\async3.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\async\index.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\async\index.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\async
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal\cal1.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal\cal1.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal\cal2.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal\cal2.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal\calendar.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal\Entries.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal\Entry.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal\JspCalendar.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal\login.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal\TableBean.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\cal
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\chat\index.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\chat\index.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\chat\login.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\chat\login.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\chat\post.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\chat\post.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\chat
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\checkbox\check.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\checkbox\checkresult.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\checkbox\checkresult.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\checkbox\CheckTest.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\checkbox\cresult.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\checkbox
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\colors\clr.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\colors\ColorGameBean.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\colors\colors.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\colors\colrs.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\colors\colrs.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\colors
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\dates\date.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\dates\date.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\dates\date.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\dates
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\error\er.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\error\err.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\error\err.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\error\error.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\error\errorpge.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\error\errorpge.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\error
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\forward\forward.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\forward\forward.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\forward\fwd.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\forward\one.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\forward\one.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\forward\two.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\forward
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\images\code.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\images\execute.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\images\read.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\images\return.gif
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\images
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\include\foo.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\include\foo.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\include\foo.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\include\inc.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\include\include.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\include\include.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\include
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\index.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\basic-arithmetic.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\basic-arithmetic.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\basic-arithmetic.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\basic-comparisons.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\basic-comparisons.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\basic-comparisons.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\composite.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\composite.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\composite.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\functions.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\Functions.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\functions.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\functions.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\implicit-objects.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\implicit-objects.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\implicit-objects.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\ValuesBean.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el\ValuesTag.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\el
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute\FooBean.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute\HelloWorldSimpleTag.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute\jspattribute.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute\jspattribute.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute\jspattribute.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute\shuffle.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute\shuffle.jsp
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute\shuffle.jsp.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute\ShuffleSimpleTag.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute\TileSimpleTag.java.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspattribute
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspx\basic.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspx\basic.jspx
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspx\basic.jspx.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspx\svgexample.html
Deleted file/folder: C:\Users\GYJ\tomcat\webapps\examples\jsp\jsp2\jspx\textRotate.html
上一篇: ruby对文件和目录的基本操作
下一篇: Java的文件拷贝和文件删除