`
peak007
  • 浏览: 6174 次
  • 性别: Icon_minigender_1
  • 来自: 西安
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
---------------------------------js部分----------------------------- function checkDbdl(){ var bblx = document.getElementById("bblx").value; var basePath = document.getElementById("basePath").value; var dbdlxmlpath = document.getElementById("dbdlxmlpath").value; var bb ...
import java.util.Queue;  import java.util.LinkedList;  import com.cs.webTool.bean.UserData; public class Dee {      public static void main(String[] args) {      Dee.namer();     }     public static void  name() {     Queue<String> queue = new LinkedList<String>();          queue. ...
一:所要的包 commons-fileupload-1.2.1.jar commons-io-1.4.jar commons-logging-1.0.4.jar commons-logging-api-1.1.jar freemarker-2.3.8.jar jakarta.jar ognl-2.6.11.jar struts2-core-2.0.8.jar xwork-2.0.4.jar 二:上传文件jsp页面 FileUploadMany.jsp <form action="upload.action" method="post&qu ...
这个页面是点一个添加就出一个浏览上传的 <%@ page language="java" contentType="text/html; charset=UTF-8"%> <%@ taglib uri="/struts-tags" prefix="s"%> <html> <head> <script language="javascript"> function addComponent() { var uploadHTML = doc ...
struts的上传封装的已经非常完美了,首先我们来看一下页面     <s:form action="saveDocument.action" method="post" enctype ="multipart/form-data">                             <td height="32" class="heder">                                 上传档案 :                     ...
public Map getDsrPwdList(String issubbed, int startIndex, int maxResults, String typeTree, String nodeName, String col, String by, String queryType, String queryValue) throws Exception { Map<String, Object> map = new HashMap<String, Object>(); List list = new ArrayList(); try{ ...

copy文件

    博客分类:
  • java
import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; public class CopyPic { public void co ...
Global site tag (gtag.js) - Google Analytics