- 博客(6)
- 资源 (6)
- 问答 (3)
- 收藏
- 关注
原创 jfinal中错误
1.noclassdeffounderror:org.apache.juli.logging.logfactory原因:因为tomcat包配置不正确引起的,移掉tomcat的Library就可以了。右键项目--build path--configure build path--libraries--tomcat移除掉
2018-01-30 22:56:54 632
原创 mysql中sql语句基础
UPDATE b_product_attribute SET state = 0 WHERE id IN (SELECT * FROM (SELECT id FROM b_product_attribute WHERE productid = 730 AND id NOT IN (1379,1380,1381)) bpa);上述为正确写法,错误格式如下:UPDATE b_product_att
2018-01-30 22:28:13 145
转载 Java中String、StringBuilder和StringBuffer的区别
三个类的区别主要在运行速度和线程安全两方面。1.运行速度或执行速度StringBuilder>StringBuffer>String原因:String为字符串常量,而StringBuilder和StringBuffer均为字符串变量,即String对象一旦创建之后该对象是不可更改的(更改过程陷入了一次次对象的创建、销毁中),但后两者的对象是变量,是可以更改的。2.线程安全Str
2018-01-24 12:49:12 152 4
原创 java中解析接口传入的json串
1.接口处传入格式[{"content":"123","url":"123"},{"content":"123","url":"123"}]2.代码List parseJsonVote (String options){ List list = new ArrayList(); JSONArray arry = JSONArray.fromObject(options); for (i
2018-01-12 17:26:43 1733 1
转载 java中文件复制
public void fileChannelCopy(File s, File t) { FileInputStream fi = null; FileOutputStream fo = null; FileChannel in = null; FileChannel out = null; try { fi = new FileInputStream(s)
2018-01-08 17:42:35 131 2
原创 Jfinal根据url下载文件
String path = (PathKit.getWebRootPath()+"/exclemodel/").replace("\\", "/"); URL httpurl = new URL("***"); String fileName = "*.xlsx"; File f = new File(path
2018-01-06 09:19:14 1605 1
springboot_demo-1.rar
2019-07-03
TA创建的收藏夹 TA关注的收藏夹
TA关注的人