Location:
Search - commons-lang
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: displaytag的使用方法
首先当然是要下载它的jar包了,这里可以下载到最新的版本。将jar包放到WEB-INF的lib文件夹下。另外还需要两个辅助包:apache的commons-lang和standard包
Platform: |
Size: 1273 |
Author: cuishijie |
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: displaytag的使用方法
首先当然是要下载它的jar包了,这里可以下载到最新的版本。将jar包放到WEB-INF的lib文件夹下。另外还需要两个辅助包:apache的commons-lang和standard包-use displaytag first course is to download it the jar package, and you can download the latest version. Jar package will be put WEB-INF folder under the lib. It also requires two auxiliary packages: apache
Platform: |
Size: 1024 |
Author: cuishijie |
Hits:
Description: commons lang.jar for jasper reports.. used for jasper reporting purpose.. can be used for common functions.
Platform: |
Size: 156672 |
Author: dishank |
Hits:
Description: i for tomcat string builder
Platform: |
Size: 247808 |
Author: udaya |
Hits:
Description: apache的工具包,包含stringutil等实用工具类-apache toolkit, including stringutil and other utility classes
Platform: |
Size: 261120 |
Author: 拳神小子 |
Hits:
Description: Commons Lang, a package of Java utility classes for the
classes that are in java.lang s hierarchy, or are considered to be so
standard as to justify existence in java.lang.-Commons Lang, a package of Java utility classes for the
classes that are in java.lang s hierarchy, or are considered to be so
standard as to justify existence in java.lang.
Platform: |
Size: 372736 |
Author: const |
Hits:
Description: commons-lang3-3.1-bin.zip 能实现各式各样的String、Date的处理,apache的开源项目。-commons-lang3-3.1-bin.zip to achieve a wide range of String, Date processing, apache open source project.
Platform: |
Size: 4646912 |
Author: 王小帅 |
Hits:
Description: Excel工具类,支持读,写。运用jxl.jar,需要commons-lang-2.3.jar-Excel util
Platform: |
Size: 912384 |
Author: judechen |
Hits:
Description: Math 类库,包含了Java 语言基础类库中没有的数学、统计学相关的基础工具。-Commons Math is a library of lightweight, self-contained mathematics and statistics components addressing the most common problems not available in the Java programming language or Commons Lang.
Platform: |
Size: 2601984 |
Author: sxf |
Hits:
Description: 封装了java lang基本到操作,例如String类到基本操作,很有用的!而且开源-Encapsulates java lang basic operations such as operations on the String class, very useful!
Platform: |
Size: 1069056 |
Author: pufa |
Hits:
Description: add update delete list add statate
Platform: |
Size: 187392 |
Author: wangjun |
Hits:
Description: 包含的包有:commons-beanutils-1.8.0.jar、commons-collections-3.1.jar、commons-lang-2.5.jar、commons-logging-1.1.1.jar、ezmorph-1.0.6.jar、json-lib-2.4-jdk15.jar、xom.jar。(The packages included: commons-beanutils-1.8.0.jar, commons-collections-3.1.jar, commons-lang-2.5.jar, commons-logging-1.1.1.jar, ezmorph-1.0.6.jar, json-lib-2.4-jdk15.jar, xom.jar.)
Platform: |
Size: 311296 |
Author: duchaochen
|
Hits:
Description: JSON jar包(commons-beanutils-1.8.0.jar,commons-collections-3.2.1.jar,commons-lang-2.5.jar,commons-logging-1.1.1.jar,ezmorph-1.0.6.jar,json-lib-2.4-jdk15.jar)(JSON jar pack file contains 6 jar files (commons-beanutils-1.8.0.jar, commons-collections-3.2.1.jar, commons-lang-2.5.jar, commons-logging-1.1.1.jar, ezmorph-1.0.6.jar, json-lib-2.4-jdk15.jar))
Platform: |
Size: 1258496 |
Author: Engin_f
|
Hits:
Description: JAVA commons-lang-2.5
Platform: |
Size: 261120 |
Author: Monologue
|
Hits:
Description: commons-fileupload.jar:jsp的上传文件功能
commons-io.jar:可以看成是java.io的扩展
commons-lang.jar:包含了一些数据类型工具类,是java.lang.*的扩展。必须使用的jar包。
commons-pool-1.2.jar:DBCP数据库连接池,Apache的Jakarta组织开发的,Tomcat4的连接池也是DBCP。
commons-validator.jar:用来帮助进行验证的工具。比如验证Email字符串,日期字符串等是否合法。
coreapi.jar:一种应用的核心 类库,这里是Birt的核心包。(Upload file function of commons-fileupload.jar:jsp
Commons-io.jar: can be seen as an extension of java.io
Commons-lang.jar: contains some data type tool classes that are extensions of java.lang.*. Jar package must be used.
Commons-pool-1.2.jar:DBCP database connection pool, Apache Jakarta organization development, Tomcat4 connection pool is also DBCP.
Tools for commons-validator.jar: to help validate. For example, verify the Email string, date string, and so on.
Coreapi.jar: a core class library for applications, which is the core package of Birt.)
Platform: |
Size: 11212800 |
Author: 龙晔
|
Hits:
Description: common-lang-2.5的包 Apache Commons包估计是Java中使用最广发的工具包了,很多框架都依赖于这组工具包中的一部分,它提供了我们常用的一些编程需要,但是JDK没能提供的机能,最大化的减少重复代码的编写(orag.apache.common.lang)
Platform: |
Size: 3829760 |
Author: 深作 |
Hits:
Description: java解析JSON文件时需要的6个包
commons-beanutils-1.8.0;
commons-collections-3.2.1;
commons-lang-2.6;
commons-logging-1.1.1;
json-lib-2.4-jdk15
ezmorph-1.0.6(commons-beanutils-1.8.0
commons-collections-3.2.1
commons-lang-2.6
commons-logging-1.1.1
json-lib-2.4-jdk15
ezmorph-1.0.6)
Platform: |
Size: 1260544 |
Author: 叶耶耶sa |
Hits:
Description: 程序刚刚整理出来,还有些粗糙,也希望各位朋友们有更好的方法能够交流、改进。
说明: 本程序是非常简单的excel解析功能;可用于解析excel数据入库。
程序依赖jxl.jar,commons-lang-2.4.jar,commons-logging.jar
上述三个依赖包已经封装在本包中。如需最新的jar包可以将其替换。
excel模板配置如下:
第一行是map需使用的key;
第二行是方便数据整理时的备注;
第三行及以后是对应字段的值
Excel模板可参照包内importTemplate.xls;使用方法请参照以下代码。(Procedures have just been sorted out, but also a bit rough, but also hope that friends have a better way to communicate, improve.Note: this procedure is very simple excel parsing function; can be used to parse excel data library.The program relies on jxl.jar commons-lang-2.4.jarn commons-logging.jarThe above three dependency packages are encapsulated in this package.If you need the latest jar package, you can replace it.The excel template is configured as follows:The first line is the key that map needs to use;The second line is the remarks when it is convenient to organize the data;The third line and thereafter are the values of the corresponding fieldsThe Excel template can be found in importTemplate.xlswithin the package; see the following code for use.)
Platform: |
Size: 989184 |
Author: wandern |
Hits: