⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 copyimage.jsp

📁 A brew application taking backup of the device
💻 JSP
字号:
<%--     Document   : CopyImage    Created on : Feb 9, 2009, 7:59:25 PM    Author     : Work IS Passion--%><%@page import="java.io.*" %><%@page import="IPhone.*" %><?xml version="1.0" encoding="ISO-8859-1"?><root>    <data><%       File f1 = new File("F:\\MyFolder\\ipodfile.jpg");      File f2 = new File("D:\\JSPexample\\JSPexample\\web\\Images\\abc.jpg");      InputStream in = new FileInputStream(f1);            OutputStream out1 = new FileOutputStream(f2);      byte[] buf = new byte[1024];      int len;      while ((len = in.read(buf)) > 0){         out1.write(buf, 0, len);      }      in.close();      out1.close();      out.println("File copied.");%>    </data></root>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -