- 博客(15)
- 收藏
- 关注
原创 linux开机启动tomcat脚本
参考资料:https://blog.51cto.com/simplelife/1882097一、切换目录/etc/init.dcd /etc/init.d二、新建脚本 vi startTomcatAndJar.sh:#!/bin/sh#add for chkconfig#chkconfig:2345 70 30 #description:auto start tomcat and jarecho "------start tomcat and jar------"export.
2020-08-12 11:25:58
353
原创 linux部署前端react项目
一、配置linux环境1、安装node和npm1)在node官网下载对应node安装包:http://nodejs.cn/download/ 可以通过命令:uname -a 查看当前系统内核; 也可通过命令:wegt +node下载地址(没用这个,可自行百度)。2)下载之后上传到服务器,然后创建node目录,解压安装nodetar xvf n...
2019-11-06 19:43:11
5109
3
原创 eclipse配置maven
一、下载maven压缩包,解压得到maven文件夹 二、eclipse内配置maven 1、配置installations; 2、配置user settings; 全局配置(global settings ) 本台电脑的配置,使用这台电脑的所有用户都是用这...
2019-01-17 10:35:26
278
原创 linux常用命令
linux常用命令:命令 --help:查看该命令的帮助。光标移至最前面 :ctrl a光标移至最后面 : ctrl e删除当前光标指向的单词 :ctrl w创建文件夹 :mkdir <文件夹名>同时创建多个文件夹 (路径展开): mkdir /root/{test1,test2} -p:递归创建...
2018-11-28 15:11:23
228
原创 linux下mysql5.7.24主从、双主从基本配置
主从一、环境 主机: master操作系统:centos 7 64位 IP:192.168.190.128 MySQL版本:5.7.24 从机: slave操作系统:centos 7 64位 IP:192.168.190.130 ...
2018-11-20 23:14:35
1466
原创 centos7安装mysql5.7.24
工具:secureCRT1、用secureCRT连接linux虚拟机,通过sftp上传mysql5.7.24压缩包到linux的/root文件夹下。[root@localhost local]# cd /root[root@localhost ~]# lsanaconda-ks.cfg mysql-5.7.24-linux-glibc2.12-x86_64.tar.gz2、将m...
2018-11-15 00:11:38
1426
原创 workbook 读取excel表格
ResultDate resultDate=null; InputStream input; try { input = new FileInputStream(file); //获取workbook对象 Workbook wb = Workbook.getWorkbook(input); //获取excel第一页 sheet = wb.getSheet...
2018-04-10 17:00:05
3372
2
原创 js动态显示时间
t = setTimeout(time,1000);//定时器clearTimeout(t); //清除定时器var myDate = new Date();myDate.getYear(); //获取当前年份(2位)myDate.getFullYear(); //获取完整的年份(4位,1970-????)myDate.getMonth(); /...
2018-04-10 16:49:18
263
原创 datagrid里操作行的函数
//根据index获取行数据 var row = $('#Table').datagrid('getData').rows[index]; //根据行对象获取行下标var index = $("#chufangTable").datagrid('getRowIndex',selectRow); //根据index选中行$('#posNumberTable').d...
2018-03-28 22:53:14
814
原创 easyui里box基本操作
//只让看不让编辑,颜色不变 $('#name').textbox('textbox').attr('readonly',true); //设置值 $('#name').textbox('setValue','xxxx'); //获取值 ...
2018-03-07 11:24:20
412
转载 textarea自动换行
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> auto_input
2018-01-29 20:56:04
1117
转载 table嵌套
表格table嵌套,边框合并问题外层table与内层table嵌套,内外表格都需边框时,设置“border=1”,但边框会重复,造成某些地方边框粗,有些地方边框细的问题。 【解决办法】:外表格样式:内表格样式: ——非原创
2018-01-29 20:52:34
725
原创 hibernate中select count()查询数据返回类型不匹配
IllegalArgumentException occurred while calling setter for property [com.wantup.pethosp.vo.PetSicknessPojo.count (expected type = java.lang.Integer)]; target = [PetSicknessPojo [visReason=123, count=n
2018-01-23 21:43:17
627
原创 jsp之间url传值,接值
jsp页面之间url传值。jsp传值: var myurl="index.jsp?id="+id+"&name="+name; window.location.assign(encodeURI(myurl));jsp接值: var url=decodeURI(location.href); var tmp1=url.split("?")[1]; var tmp2
2017-09-07 20:40:59
2653
原创 ztree一级一级加载数据
关于ztree二次加载数据。js代码:var groupSetting = { /* check : { enable : true//复选框 }, */ view: { showIcon: false,//是否显示节点的图标
2017-09-07 20:30:57
1496
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人