上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: https://market.aliyun.com/products/56928004/cmapi014394.html#sku=yuncode839400000 阅读全文
posted @ 2018-05-07 15:17 三豪 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/yjhrem/articles/2419717.html String time1="2015-10-06"; SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); Date date 阅读全文
posted @ 2018-04-25 14:52 三豪 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 转自:https://m.2cto.com/kf/201507/412937.html import java.util.HashSet;import java.util.List;import java.util.Map;import java.util.Random;import java.ut 阅读全文
posted @ 2018-03-30 09:41 三豪 阅读(300) 评论(0) 推荐(0) 编辑
摘要: mysql int类型字段插入空字符串时自动转为0 如果不想转的话可以修改配置文件 修改 my.ini 文件. # Set the SQL mode to strictsql-mode=”STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTI 阅读全文
posted @ 2018-03-29 16:04 三豪 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: MyBatis要求如果参数为String的话,不管接口方法的形参是什么,在Mapper.xml中引用时需要改变为_parameter才能识别 : <select id="selectByIp" parameterType="string" resultType="voteIP"> select * 阅读全文
posted @ 2018-02-02 19:25 三豪 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 判断文件夹是否存在,不存在创建文件夹 阅读全文
posted @ 2018-02-02 11:54 三豪 阅读(460) 评论(0) 推荐(0) 编辑
摘要: bshare网站:http://www.bshare.cn/help/installAction 阅读全文
posted @ 2018-01-12 16:12 三豪 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 一般用于网站提取公共部分的导航栏等 第一种方式:<iframe>标签 在body标签第一行加<iframe>标签 <body> <iframe src="${ctx}/pub/top" frameborder="0" width="100%" height="38" marginheight="0" 阅读全文
posted @ 2018-01-11 18:39 三豪 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1.部署项目的第一种方法(项目直接放入 webapps 目录中) 2.部署项目的第二种方法(修改 conf/server.xml 文件 ) 3.部署项目的第三种方法(apache-tomcat-7.0.52\conf\Catalina\localhost ) 更多:http://www.cnblog 阅读全文
posted @ 2018-01-04 11:15 三豪 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 前台传参: name:encodeURI(name) 后台接收: String name =request.getParameter("name"); if(name!=null&&name!=""){ name =java.net.URLDecoder.decode(name,"UTF-8"); 阅读全文
posted @ 2017-12-28 11:15 三豪 阅读(208) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页