09 2014 档案
摘要:1.问题: 客户端发出了一个ajax请求,但是此时session超时了 2.解决方法: 服务端: 在过滤器或者拦截器中,判断ajax请求类型,设置一个超时标志 客户端:ajax请求要求有一个全局处理函数 ,获取相应标志,做出相应处理 过滤器中加入: // 如果是ajax请求响应头会有,x-requested-with; if (req.getHe...
阅读全文
摘要:1.select2介绍 官网: http://ivaynberg.github.io/select2/ Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results. select2是...
阅读全文

浙公网安备 33010602011771号