CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - java org.js
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - java org.js - List
[
JSP/Java
]
2006081319475018632
DL : 0
带进度条的文件上传(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
Date
: 2008-10-13
Size
: 564.46kb
User
:
商务通
[
JSP/Java
]
2006081319475018632
DL : 0
带进度条的文件上传(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
Date
: 2025-07-09
Size
: 564kb
User
:
商务通
[
Other Web Code
]
org
DL : 0
基于dwr js java jsp 实现的树形组织机构代码-dwr js java
Date
: 2025-07-09
Size
: 5.75mb
User
:
数学家
[
Other Web Code
]
json
DL : 0
org.json库的源代码,在java中操作json串的库,轻量级库。-org.json library source code to operate in the java string json library, lightweight library.
Date
: 2025-07-09
Size
: 51kb
User
:
xwolf
[
Linux-Unix
]
phprpc_3.0
DL : 0
php rpc 编程接口支持,Java php- P H P R P C What is it? ----------- PHPRPC is a Remote Procedure Calling protocol that works over the Internet. It is secure and fast. It has a smaller overhead. It is powerful and easy to use. This project is the client and server implementations of the PHPRPC. The Latest Version ------------------ Details of the latest version can be found on the PHPRPC Project web site <http://www.phprpc.org/>. Documentation ------------- Documentation is available in HTML format. For information about PHPRPC, see the online manual at <http://www.phprpc.org/docs/>. Licensing --------- This software is licensed under the terms you may find in the file The PHPRPC Project
Date
: 2025-07-09
Size
: 5.16mb
User
:
wanwan
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.