Location:
Search - commons io
Search list
Description: 带进度条的文件上传(java+ajax源码)
在写代码的时候,还要用到关于servlet的包servlet-api.jar。
写完后调试的过程中,老报错:java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream,后来一查才知道少了commons-io-1.2.jar,加上后,就ok了。
关于获取及显示进度部分,用了我原来自己写的一个ajax的应用架构,从中抽取了部分代码出来,注意,js文件只适用于UTF-8编码的页面,因为现在我只写UTF-8编码的页面了,国际化方便。
progressUpload.jar中,包含了commons-fileupload-1.1.1.jar,servlet-api.jar,commons-io-1.2.jar,在progressUpload.jar中,还包含一个属性文件,里面是一些默认配置,可根据自己的需要修改。
由于有源码,怎么用可以自己看源码,此外,那个例子中也写了,在此不再赘述。例子中只取到了FileItem,再将item保存一下就ok了,示例代码: File upFile = new File(remoteFilePath)
try
\\{
item.write(upFile)
fileInfo.put(\"infotip\", \"上传成功.\")
}
catch (java.lang.Exception e)
\\{
fileInfo.put(\"infotip\", \"上传失败.\")
}-with the progress of the file upload (java ajax OSS) in writing code, also used on packages servlet servlet-api.jar. After the finish debugging process, the old errors : java.lang.NoClassDefFoundError : org / apache / commons / io / output / DeferredFil eOutputStream. Later, an investigation will know less commons-io - 1.2.jar, plus, on the ok. On access and display some progress with my own original written by a ajax application architectures, from taking part code, and the attention js document only applies to UTF-8 encoded pages. now I just write UTF-8 encoded pages, international convenience. ProgressUpload.jar, contains commons - fileupload - 1.1.1.jar. servlet-api.jar, commons-io - 1.2.jar. In progressUpload.jar, also includes an attribute documents, There is some of the default conf
Platform: |
Size: 578002 |
Author: 商务通 |
Hits:
Description: java 的io 操作类
java 的io 操作类
Platform: |
Size: 394759 |
Author: wangxinpier |
Hits:
Description: java上传组件源码-java passes on the module source code
Platform: |
Size: 63488 |
Author: 张书扬 |
Hits:
Description: maven 2.0
The following instructions show how to install Maven 2:
1) Unpack the archive where you would like to store the binaries, eg:
tar zxvf maven-2.0.tar.gz
or
unzip maven-2.0.zip
2) A directory called "maven-2.0" will be created.
3) Add the bin directory to your PATH, eg:
export PATH=/usr/local/maven-2.0/bin:$PATH
or
set PATH="c:\program files\maven-2.0\bin" %PATH%
4) Make sure JAVA_HOME is set to the location of your JDK
5) Run "mvn --version" to verify that it is correctly installed.-maven 2.0 The following instructions show how to install Maven 2 : 1) Unpack the archive where you would like to sto 're the binaries, eg : tar zxvf maven-2.0.tar.gz or unzip maven-2.0. zip 2) A directory called "maven-2.0" will be cr eated. 3) Add the bin directory to your PATH, eg : export PATH =/usr/local/maven-2.0/bin : $ PATH or set PATH = "c : \ program files \ maven-2.0 \ bin "% PATH% 4) Make sure JAVA_HOME is set to the location of your JDK 5) Run "mn-- version" to verify that it is corre ctly installed.
Platform: |
Size: 1165312 |
Author: 隋清 |
Hits:
Description: 最好的java上传组件,看好哦。最好的java上传组件-best java Upload components, good oh. Upload the best java components
Platform: |
Size: 475136 |
Author: unwonk |
Hits:
Description: apache-commons-email,封装了JAVAMAIL的开发包,这个压缩包里包含了源代码,编译好的JAR包,以及示例文件.
这个开发包使用起来比JAVAMAIL更为方便.简单的几步就可以的发送和接收邮件,WEB开发必不可少.-apache- commons-email, Packaging JAVAMAIL of the development kits, this compressed bundle includes source code, compiled JAR package, and the sample file. The development kits to use than JAVAMAIL more convenient. simple steps can be made of send and receive mail, Web Development indispensable.
Platform: |
Size: 463872 |
Author: wuxu |
Hits:
Description: 带进度条的文件上传(java+ajax源码)
在写代码的时候,还要用到关于servlet的包servlet-api.jar。
写完后调试的过程中,老报错:java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream,后来一查才知道少了commons-io-1.2.jar,加上后,就ok了。
关于获取及显示进度部分,用了我原来自己写的一个ajax的应用架构,从中抽取了部分代码出来,注意,js文件只适用于UTF-8编码的页面,因为现在我只写UTF-8编码的页面了,国际化方便。
progressUpload.jar中,包含了commons-fileupload-1.1.1.jar,servlet-api.jar,commons-io-1.2.jar,在progressUpload.jar中,还包含一个属性文件,里面是一些默认配置,可根据自己的需要修改。
由于有源码,怎么用可以自己看源码,此外,那个例子中也写了,在此不再赘述。例子中只取到了FileItem,再将item保存一下就ok了,示例代码: File upFile = new File(remoteFilePath)
try
\{
item.write(upFile)
fileInfo.put("infotip", "上传成功.")
}
catch (java.lang.Exception e)
\{
fileInfo.put("infotip", "上传失败.")
}-with the progress of the file upload (java ajax OSS) in writing code, also used on packages servlet servlet-api.jar. After the finish debugging process, the old errors : java.lang.NoClassDefFoundError : org/apache/commons/io/output/DeferredFil eOutputStream. Later, an investigation will know less commons-io- 1.2.jar, plus, on the ok. On access and display some progress with my own original written by a ajax application architectures, from taking part code, and the attention js document only applies to UTF-8 encoded pages. now I just write UTF-8 encoded pages, international convenience. ProgressUpload.jar, contains commons- fileupload- 1.1.1.jar. servlet-api.jar, commons-io- 1.2.jar. In progressUpload.jar, also includes an attribute documents, There is some of the default conf
Platform: |
Size: 577536 |
Author: 商务通 |
Hits:
Description: JSP上传函数 -JSP upload function JSP upload function
Platform: |
Size: 25600 |
Author: telelogic |
Hits:
Description: java 的io 操作类
java 的io 操作类-the io operation java type java type of io operations
Platform: |
Size: 394240 |
Author: wangxinpier |
Hits:
Description: 在struts2中文件上传或下载,时需导入包。-In struts2 upload or download files, when importing package.
Platform: |
Size: 1223680 |
Author: YeXiaowen |
Hits:
Description: SSH2工程模板
struts2.1.8 + Spring2.5+ Hibernate3.2
Spring 用注解方式-antlr-2.7.6.jar
asm-2.2.3.jar
asm-commons-2.2.3.jar
asm-util-2.2.3.jar
c3p0-0.9.1.2.jar
cglib-nodep-2.1_3.jar
common-annotations.jar
commons-collections.jar
commons-dbcp.jar
commons-fileupload-1.2.1.jar
commons-io-1.3.2.jar
commons-logging-1.0.4.jar
commons-logging-api-1.1.jar
commons-pool.jar
dom4j-1.6.1.jar
ejb3-persistence.jar
freemarker-2.3.15.jar
hibernate-annotations.jar
hibernate-commons-annotations.jar
hibernate3.jar
jta.jar
log4j.jar
msbase.jar
mssqlserver.jar
msutil.jar
ognl-2.7.3.jar
spring-beans.jar
spring-context-2.5.6.jar
spring-context.jar
spring-core-2.5.6.jar
spring-core.jar
spring-orm.jar
spring-tx.jar
spring-web-2.5.6.jar
spring-web.jar
spring-webmvc-portlet.jar
spring-webmvc-struts.jar
spring-webmvc.jar
spring.jar
struts2-core-2.1.8.1.jar
struts2-spring-plugin-2.1.8.1.jar
xwork-core-2.1.6.jar
数据库ms sql
database zqkdev
table tb_user
fields
uid int
username nvarchar
password nvarchar
Platform: |
Size: 34816 |
Author: |
Hits:
Description: 一个十分有意思,有想法的小程序 希望砖引玉 愿大家能够喜欢~-A very interesting program with the idea of small brick jade would like to hope that we can love ~
Platform: |
Size: 1175552 |
Author: 潇潇 |
Hits:
Description: 实现简单的.txt文件上传功能,应用commons-fileupload-1.0和commons-io-1.3.2框架包。-Implement simple. Txt file upload function, application commons-fileupload-1.0 and commons-io-1.3.2 framework package.
Platform: |
Size: 103424 |
Author: youjinze |
Hits:
Description: 源码要求为至码或编程学习资料,质量越高得到的下载个数越多(一般上传5个,可以下载200个)。 -源码要求为至少5个C或Java源码或其他好源码或编程学习资料,质量越高得到的下载个数越多(一般上传5个,可以下载200个)。
Platform: |
Size: 495616 |
Author: locey |
Hits:
Description: apache开源项目conmmons下的io,正在研究中-The Commons FileUpload package makes it easy to add robust, high-performance, file upload capability to your servlets and web applications.
Platform: |
Size: 2282496 |
Author: caipeng |
Hits:
Description: Struts2里面的Commons-io源代码,有兴趣的可以看看。-The Struts2 inside the source code of Commons-io, interested can look at.
Platform: |
Size: 1875968 |
Author: 赵宇麒 |
Hits:
Description: java包commons-io-2.1.zip commons-io-2.1.zip -java package commons-io-2.1.zipcommons-io-2.1.zipcommons-io-2.1.zipcommons-io-2.1.zip
Platform: |
Size: 148480 |
Author: 王佩剑 |
Hits:
Description: java common iO基本操作源码包,功能丰富,可直接使用。-java common iO basic operation of the source package, feature-rich, can be used directly.
Platform: |
Size: 497664 |
Author: 赵强 |
Hits:
Description: 对于学习java的io流的处理和机制有很大的参考价值-For the learning process and mechanisms of java io stream of great reference value
Platform: |
Size: 512000 |
Author: 孔嘉运 |
Hits:
Description: commons-io-2.0.1.zip
Platform: |
Size: 144384 |
Author: Monologue
|
Hits: