没有代码,不好说! 我觉得主要是看流有没有正确关闭! 代码是这样的: File file = new File("D:/Tools/apache-tomcat-5.5.28/webapps/j2w/upload/word.doc"); File file1 = new File("D:/Tools/apache-tomcat-5.5.28/webapps/j2w/upload/word1.doc"); File file2 = new File("D:/Tools/apache-tomcat-5.5.28/webapps/j2w/upload/word2.doc"); if (!file1.exists()) { file1.createNewFile(); } if (!file2.exists()) { file2.createNewFile(); } InputStream in = null; InputStream in2 = null; OutputStream out = null; try { // 一次读一个字节 in = new FileInputStream(file1); in2 = new FileInputStream(file1); out = new FileOutputStream(file);
SequenceInputStream sis = new SequenceInputStream(in, in2);
byte[] b = new byte[1]; while ((sis.read(b)) != -1) { out.write(b); }
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 52 in the jsp file: /vip_info.jsp ÕË cannot be resolved 49: <table border="1& ......