07 2013 档案

摘要:错误:DWRUtil is not defined; 解决方法:先检查页面中是否正确引入uitl.js我这里src用的是绝对路径,个人认为这样比较好;如果正确引入了util.js文件,那么很可能是util.js文件注释了DWRUtil,查看dwr.jar里的uitl.js(util.js在org.directwebremoting.ui.servlet包里),看到如下代码//if (typeof window['DWRUtil'] == 'undefined') window.DWRUtil = dwr.util; 果真注释了;在javascript中加入如下代 阅读全文
posted @ 2013-07-15 23:40 horizon~~~ 阅读(834) 评论(0) 推荐(0) 编辑
摘要:转自:http://www.cnblogs.com/shyy/archive/2011/09/29/2453057.html一、简单的用ApplicationContext做测试的话,获得Spring中定义的Bean实例(对象).可以用:ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");RegisterDAO registerDAO = (RegisterDAO)ac.getBean("RegisterDAO");如果是两个以上:App 阅读全文
posted @ 2013-07-12 14:53 horizon~~~ 阅读(4000) 评论(0) 推荐(0) 编辑
摘要:转自:http://hi.baidu.com/our_poll/item/669c5ce885b33ff1e0a5d4fc我本机测试是安装的 mysql 5.1 , 但服务器上确是使用的 mysql 5.0 , 平时没发现差别, 今天从本地数据库5.1到入到5.0时sql 文件导入导出时发现了错误,1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server versionfor the right syntax to use near 'USING 阅读全文
posted @ 2013-07-11 23:13 horizon~~~ 阅读(499) 评论(0) 推荐(0) 编辑
摘要:转自:http://www.douban.com/note/157818842/有时导入mysql会提示如下错误:C:\Users\liqiang>mysql -uroot -paaaaaa guangxi <e:\data\ticai.sqlERROR 1064 (42000) at line 486: You have an error in your SQL syntax; check themanual that corresponds to your MySQL server version for the right syntax to usenear 'USI 阅读全文
posted @ 2013-07-11 23:12 horizon~~~ 阅读(1234) 评论(0) 推荐(0) 编辑
摘要:皆言,乱世出枭雄;殊不知一人功成万古枯.......事在人为事在人为啊! 阅读全文
posted @ 2013-07-09 17:20 horizon~~~ 阅读(133) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示