最近在做Web开发的时候,使用$.post提交数据,但是回调函数却没有被触发,按F12看控制台输出是:POST *** 400 Bad Request后台是SpringMVC的,设置了断点也不会被触发。后来查看JQuery资料了解到,$.post提交数据只有成功时才触发回调函数,于是改用$.ajax提交数据,添加error回调函数,得到错误信息了,如下图:这个问题是什么原因造成的呢?后来经过测试发...
分类:
其他好文 时间:
2014-07-21 13:32:36
阅读次数:
216
问题一:出现控制台坏的响应错误一Bad request控制台出现错误如下:Bad Requestrequest: http://hostIP:8983/solr/update?wt=javabin&version=1解决方法:出现以上错误的原因是,solr服务器上配置的Field和javabean提...
分类:
编程语言 时间:
2014-07-20 23:03:50
阅读次数:
391
在用virtualbox 挂载windows下的文件时,出现错误mount: wrong fs type, bad option, bad superblock ,在安装增强包后,解决方案:sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuest...
分类:
其他好文 时间:
2014-07-19 19:23:44
阅读次数:
171
The tutorial is from Dan Klein and Pieter AbbeelA good tutorial: https://docs.python.org/2/tutorial/ Table of ContentsInvoking the Interpreter Operato...
分类:
编程语言 时间:
2014-07-19 00:17:17
阅读次数:
372
打开MYECLIPSE.点击菜单栏的help ->my eclipse configure center .然后add site 指向https://dl-ssl.google.com/android/eclipse报错:Bad update sites com.genuitec.pulse2.cl...
分类:
系统相关 时间:
2014-07-18 16:37:08
阅读次数:
293
http://homepage.smc.edu/morgan_david/cs40/analyze-ext2.htmhttp://blog.csdn.net/lingfengchina/article/details/6740233
分类:
其他好文 时间:
2014-07-18 13:23:52
阅读次数:
204
#!/bin/sh#autherRuM#date20140716cc(){[-fignore.ip.list]||echo"127.0.0.1">ignore.ip.listnetstat-ntu|awk‘{print$5}‘|cut-d:-f4|sort|uniq-c|sort-nr>BAD_IP_LISTwhilereadline;doCURR_LINE_CONN=$(echo$line|cut-d""-f1)CURR_LINE_IP=$(echo$line|cut-d""-f2)iptabl..
分类:
其他好文 时间:
2014-07-18 13:12:19
阅读次数:
239
1 --查找bad sql的方法: 2 3 select * from (select buffer_gets, sql_text 4 5 from v$sqlarea 6 7 where buffer_gets >500000 8 9 order by buff...
分类:
数据库 时间:
2014-07-18 08:29:41
阅读次数:
252
定义
给定一个语言, 定于它的文法,并定义一个解释器,这个解释器使用改表示来解释语言中的句子。
类型
行为型模式
案例
像非常熟知的正则表达式就是描述字符串模式的一种标准语言,它为每一个模式都构造了一个特定的算法。
AbstractExpression - 一个抽象的解释操作,这个接口为抽象语法树中所有的节点所共享...
分类:
其他好文 时间:
2014-07-16 14:32:56
阅读次数:
288