摘要: "XMLHttpRequest".equalsIgnoreCase(((HttpServletRequest) request).getHeader("X-Requested-With")); 阅读全文
posted @ 2017-07-15 12:27 developer_os 阅读(3068) 评论(0) 推荐(1) 编辑
摘要: 按Win+R键打开运行对话框,输入 regedit.exe ,准备修改注册表; 找到 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer; 新建一个“字符串值”名称为 “Max Cached Icons” 值是 阅读全文
posted @ 2017-07-15 12:00 developer_os 阅读(4199) 评论(1) 推荐(0) 编辑
摘要: 利用语句查询表结构 方法1: sp_help + 表名 执行上面语句就可以了。。。。 方法2: sp_columns + 表名 执行上面方法就可以了。。。。 阅读全文
posted @ 2017-07-09 18:01 developer_os 阅读(11360) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> $(document).ready(function(){ $('button').click(function(){ var usernmae = $('#username').val(); var password = $('#pa 阅读全文
posted @ 2017-07-03 23:47 developer_os 阅读(172) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/eson_15/article/details/51742864 http://blog.csdn.net/column/details/spring-mvc.html 阅读全文
posted @ 2017-07-03 16:35 developer_os 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 解决办法: 1.从jetty的jar包中(位置可能不同,有的jetty-web中)拷贝一份webdefault.xml文件 2.将webdefault.xml 中的useFileMappedBuffer 设置为false。 阅读全文
posted @ 2017-07-03 10:23 developer_os 阅读(1455) 评论(0) 推荐(1) 编辑
摘要: 在使用spring mvc,servlet配置拦截/所有请求时,静态资源html、js、css等会被拦截,无法访问 阅读全文
posted @ 2017-07-02 20:16 developer_os 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 从官网下载了一个最新的idea(2017.1.4 community),多一个一个类写了一个单元测试,测试代码都没写,然后运行测试,竟然报错,报错为Error connecting to 127.0.0.1:54305; reason: Connection refused: no further 阅读全文
posted @ 2017-07-02 11:40 developer_os 阅读(15801) 评论(1) 推荐(0) 编辑
摘要: 最近在做项目的时候,遇到了几个问题。 1.spring参数绑定问题? 2.js做ajax请求时候,js如何向spring controller中传输Map、List、Set等复杂的数据结构的数据? 这些需要做个总结的。 参考:http://blog.csdn.net/walkerjong/artic 阅读全文
posted @ 2017-06-30 15:39 developer_os 阅读(145) 评论(0) 推荐(0) 编辑