2018年10月8日

解决乱码问题

摘要: 1,请求乱码 |--requset.setCharacterEncoding("utf-8") |--修改tomcat的配置 |--暴力解决 |--String name=requset.getP() |--String n=new String(name.getBytes("ISO-8859-1" 阅读全文

posted @ 2018-10-08 14:49 昨天已过 阅读(159) 评论(0) 推荐(0)

2018年9月26日

linux下tomcat无法连接的问题 --关闭防火墙命令

摘要: /sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT/etc/rc.d/init.d/iptables save 阅读全文

posted @ 2018-09-26 16:59 昨天已过 阅读(1072) 评论(0) 推荐(0)

MySQL命令

摘要: linux平台及windows平台mysql重启方法 Linux下重启MySQL的正确方法: 1、通过rpm包安装的MySQL service mysql restart 2、从源码包安装的MySQL // linux关闭MySQL的命令 $mysql_dir/bin/mysqladmin -uro 阅读全文

posted @ 2018-09-26 16:08 昨天已过 阅读(93) 评论(0) 推荐(0)

2018年9月25日

tomcat解决乱码问题

摘要: service.xml<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URLEncoding="utf-8" useBodyEncodingForURI="true" / 阅读全文

posted @ 2018-09-25 22:32 昨天已过 阅读(175) 评论(0) 推荐(0)

2018年9月20日

Layui文件上传和表单提交

摘要: //普通图片上传 var uploadInst = upload.render({ elem: '#updateUserFace' ,url: '${ctx}/user/uploadUserface.action' ,accept:'images', acceptMime:'image/*', fi 阅读全文

posted @ 2018-09-20 10:34 昨天已过 阅读(1044) 评论(0) 推荐(0)

ZTree修改的时候回显时选中树节点的的问题

摘要: <link rel="stylesheet" href="${ctx }/resources/layui/css/layui.css" media="all" /><link rel="stylesheet" href="${ctx }/resources/css/public.css" media 阅读全文

posted @ 2018-09-20 10:32 昨天已过 阅读(301) 评论(0) 推荐(0)

ZTree和post请求

摘要: <link rel="stylesheet" href="${ctx }/resources/layui/css/layui.css" media="all" /><link rel="stylesheet" href="${ctx }/resources/css/public.css" media 阅读全文

posted @ 2018-09-20 10:26 昨天已过 阅读(384) 评论(0) 推荐(0)

ajax示例(layui前端框架)

摘要: <link rel="stylesheet" href="${ctx }/resources/layui/css/layui.css" media="all" /><link rel="stylesheet" href="${ctx }/resources/css/public.css" media 阅读全文

posted @ 2018-09-20 10:24 昨天已过 阅读(598) 评论(0) 推荐(0)

导航