上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 我们在开发web应用时,会遇到一些第三方的回调处理,类似支付宝的支付通知回调 因为配置在外部服务商的回调地址是一个公网地址,对于回调接口不方便进行本地debug调试 我常用的有两种解决方法 1.利用tomcat部署项目,配置tomcat远程debug功能,在开发工具中使用远程debug功能调试 2. 阅读全文
posted @ 2018-02-05 14:39 电影公众号 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 查看服务器日志指令 tailf /var/log/messages 启动服务指令(xxx为服务名) systemctl restart xxx 查看具体服务日志指令(xxx为服务名) systemctl status xxx -l 阅读全文
posted @ 2018-02-05 14:10 电影公众号 阅读(4671) 评论(0) 推荐(0) 编辑
摘要: package webapp.controller; import com.alibaba.fastjson.JSONObject; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.HandlerInterceptor; import o... 阅读全文
posted @ 2017-12-22 13:30 电影公众号 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 后端定义一个action gettable.htm 返回一个试图,这里返回的视图为一个子页面,类似iframe的思想父页面ajax调用后台gettable.htm获取视图内容并将其内容添加到当前父页面指定的div容器$("button").click(function(){ $.get("/gett 阅读全文
posted @ 2017-12-15 11:49 电影公众号 阅读(1740) 评论(0) 推荐(0) 编辑
摘要: 引入echarts.js 定义一个容器存放echarts图表 var myChart=echarts.init(document.getElementById("charts")); option = { title: { text: '' }, tooltip: { trigge... 阅读全文
posted @ 2017-12-14 15:19 电影公众号 阅读(1971) 评论(0) 推荐(0) 编辑
摘要: 当后台向前端传递类似 &not 等转义字符时,前端html会将其转成特殊字符 解决方案,后端统一将&符号替换为前端字符 &amp ,然后传递给前端即可 阅读全文
posted @ 2017-12-12 11:49 电影公众号 阅读(1250) 评论(0) 推荐(0) 编辑
摘要: public enum WorkTimeEnum { BELOWONEYEAR(0,"1年以下"), ONEYEAR(1,"1年"), TWOYEAR(2,"2年"), THREETOFOURYEAR(3,"3-4年"), FIVETOSEVENYEAR(4,"5-7年"), EIGHTTONINEYEAR(5,"8-9年"), ABOVE... 阅读全文
posted @ 2017-12-11 13:28 电影公众号 阅读(380) 评论(0) 推荐(0) 编辑
摘要: ZeroClipboard Test 数据输出测试 --> 点击测试1 --> 点击测试2 测试3 点击测试3 点击测试4 文末小福利免费视频资源网站:www.sousuohou.com 阅读全文
posted @ 2017-12-08 16:56 电影公众号 阅读(834) 评论(0) 推荐(0) 编辑
摘要: import org.w3c.dom.NodeList; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import java.io.InputStream; import java.io.OutputStream; import java.io.Output... 阅读全文
posted @ 2017-11-27 14:32 电影公众号 阅读(653) 评论(0) 推荐(0) 编辑
摘要: linux下安装的mysql5.7比较占用内存,我的服务器内存只有512M(伤心啊), 所以mysql服务会经常启动不起来,修改 mysql.cnf 文件即可解决 ps: mysql.cnf文件路径 /etc/mysql.cnf 修改完之后service mysqld restart 重启mysql 阅读全文
posted @ 2017-11-21 17:21 电影公众号 阅读(1685) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页