随笔分类 -  java编程

摘要:微信小程序api文档:https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxss.html 微信小程序项目集锦:https://blog.csdn.net/zuoliangzhu/article/details/53862 阅读全文
posted @ 2018-11-26 22:22 demon09 阅读(215) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/luxiaoyu_sdc/article/details/6548612 阅读全文
posted @ 2018-11-02 22:29 demon09 阅读(587) 评论(0) 推荐(0)
摘要:本文转自于:http://www.cnblogs.com/yjhrem/articles/2955207.html 阅读全文
posted @ 2018-10-01 17:13 demon09 阅读(152) 评论(0) 推荐(0)
摘要:JDK安装与环境变量配置:https://jingyan.baidu.com/article/6dad5075d1dc40a123e36ea3.html 阅读全文
posted @ 2018-09-27 22:23 demon09 阅读(162) 评论(0) 推荐(0)
摘要:本文转自于:https://www.cnblogs.com/hammerc/p/7390424.html 阅读全文
posted @ 2018-09-27 22:21 demon09 阅读(305) 评论(0) 推荐(0)
摘要:https://files.cnblogs.com/files/demon09/struts.rar https://files.cnblogs.com/files/demon09/spring4.0.rar 步骤二:配置web.xml 在web.xml中配置一个listener,用于tomcat启 阅读全文
posted @ 2018-09-26 21:08 demon09 阅读(168) 评论(0) 推荐(0)
摘要:本文转载于:https://www.cnblogs.com/fozero/p/5916878.html 阅读全文
posted @ 2018-08-08 18:02 demon09 阅读(267) 评论(0) 推荐(0)
摘要:1.页面处理: 2.页面js方法: 3.java类中参数的接收处理: 阅读全文
posted @ 2018-08-08 15:16 demon09 阅读(307) 评论(0) 推荐(0)
摘要:注:onkeyup和onkeydown需要同时使用,2000推荐使用数据库中的varchar2()中的最大长度 阅读全文
posted @ 2018-07-24 09:53 demon09 阅读(428) 评论(0) 推荐(0)
摘要:有时候我们在eclipse中启动项目时,Tomcat服务器会报错,显示8080、8009、8005这几个端口被占用,此时你用debug启动项目时会发现不管用,console控制台什么信息也没有,此时产生这种问题的原因就是端口被占用。解决办法如下: 1.开始 >运行 >cmd,或者是window+R组 阅读全文
posted @ 2018-06-30 19:23 demon09 阅读(14981) 评论(0) 推荐(0)
摘要:一、需要准备的东西 1. JDK 2. Eclipse 3. Maven程序包 二、下载与安装 1. 前往https://maven.apache.org/download.cgi下载最新版的Maven程序: 2. 将文件解压到D:\Program Files\Apache\maven目录下: 3. 阅读全文
posted @ 2018-06-29 14:46 demon09 阅读(218) 评论(0) 推荐(0)
摘要:public class DaoUtil{ /** * 系统字典表 * 适用于列表循环时,根据编码获取汉字 * @param appdicid * @return */ public static Hashtable getOptionHashtable(String appdicid){ Connection conn = DBSql.open(); tr... 阅读全文
posted @ 2018-05-25 17:50 demon09 阅读(655) 评论(0) 推荐(0)
摘要://一键勾选全部的checkbox function checkAll(){ var obj = document.getElementById("all"); var arr = document.getElementsByName("one"); for(var i = 0; i < arr.length; i++){ arr[i].checked = obj.checke... 阅读全文
posted @ 2018-05-25 17:37 demon09 阅读(636) 评论(0) 推荐(0)
摘要:/** * 上传附件按钮 * @param processInstanceId * @param taskId * @param rootDir * @param maxSize * @param flag * @return */ public String getUploadButton(int processInstanceId, int taskId, ... 阅读全文
posted @ 2018-05-25 17:32 demon09 阅读(183) 评论(0) 推荐(0)
摘要:<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../tbs_css/equipment.cs 阅读全文
posted @ 2018-05-25 16:51 demon09 阅读(257) 评论(0) 推荐(0)
摘要:public class FormInputUtil { /** * 获取表单中的InputText * * @param name * @param rs * @return */ public static String getFormInput(String name, ResultSet rs) { StringBuffer buffer = new ... 阅读全文
posted @ 2018-05-24 15:35 demon09 阅读(968) 评论(1) 推荐(0)
摘要:public class DaoUtil{ /** * 将null转换为空字符串 * @param value * @return */ public static String nullToString(Object value){ return value==null?"":value.toString().trim(); } /** * 将null或空字符串... 阅读全文
posted @ 2018-05-24 11:49 demon09 阅读(204) 评论(0) 推荐(0)
摘要:1 function formreset(form){ 2 for(var i=0;i<frmMain.length;i++){ 3 if(frmMain.item(i).type=="text" && frmMain.item(i).value!=""){ 4 frmMain.item(i).value=""; 5 }e... 阅读全文
posted @ 2018-05-07 16:29 demon09 阅读(765) 评论(0) 推荐(0)
摘要:1 jQuery.ajax({ 2 url: '../ajax', 3 type: 'post', 4 data: { 5 sid: $("#sid").val(), 6 cmd: 'EQUIPMENT_CUSTOM_ROWS_SAVE', 7 params: 0 8 }, 9 beforeSend: function(){ 10 11 }... 阅读全文
posted @ 2018-05-07 15:48 demon09 阅读(111) 评论(1) 推荐(0)