- 博客(17)
- 资源 (2)
- 收藏
- 关注
原创 [转]Spring MVC type conversion : PropertyEditor or Converter?
http://stackoverflow.com/questions/12544479/spring-mvc-type-conversion-propertyeditor-or-converterPropertyEditor Converter是spring 使用的两种对象转换方式[code="java"]public class CategoryEditor extends Prop...
2013-06-21 15:52:31 128
原创 jquery dialog validate
Attaching the validator to the form: $('#your-form-id').validate(); When the Save button of your modal form is clicked, submit the form (the validator will be triggered): ...
2013-06-08 15:05:57 219
原创 restTemplate乱码
//不起作用,按照网上的修改httpmessageConverter源码,解决乱码[code="java"]//>jar -uvf spring-web-3.2.0.RELEASE.jar org\springframework\http\converter\StringHttpMessageConverter.class[/code][code="java"]public voi...
2013-06-03 11:19:28 197
原创 _vimrc
[code="java"]set nocompatiblesource $VIMRUNTIME/vimrc_example.vimsource $VIMRUNTIME/mswin.vimbehave mswinlanguage messages zh_CN.utf-8set encoding=utf-8set fileencodings=ucs-bom,ut...
2013-04-01 15:32:02 93
原创 mysql_cluster测试配置
ubuntu 12.04 下测试 可能缺少的库 libaio1[code="java"]tar xvf Downloads/mysql-cluster-gpl-7.1.3-linux-x86_64-glibc23.tar.gzln -s mysql-cluster-gpl-7.1.3-linux-x86_64-glibc23 /usr/mysqlc[/code]m...
2012-07-28 22:01:29 96
原创 ubuntu安装oracleXE
ubuntu不支持oracle,网上教程太复杂,总是出错.后来找到个能装XE的就装了.Oracle Database 10g Express Edition requires 1006 MB of swap space [code="java"]echo "deb http://oss.oracle.com/debian/ unstable main non-free" >> /e...
2012-06-06 22:20:10 141
原创 [转]mysql存储过程学习总结
1.基本语法:call sp_name()create procedure 存储过程名字() ( [in|out|inout] 参数 datatype ) begin MySQL 语句; end; MySQL 存储过程中的变量,不需要在变量名字前加“@”,虽然 MySQL 客户端用户变量要加个“@”。drop procedure sp...
2012-04-18 16:52:44 88
原创 linux xubuntu
aptitude apt-get/etc/hostsapt-get -f installmultigetpysdm自动挂载取消静音>pacmd>>>set-sink-mute 0 0 不要退出vim文件乱码set encoding=utf-8set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,e...
2012-04-17 17:54:46 213
原创 android初使用
[code="java"] [/code]intent filter 限制哪些intent可以访问此activity(能接收什么类型的intent).action(0个或多个),匹配其中一个即可.顺序component,如果没有则action,data,category,删除不匹配的,...
2011-12-15 16:37:17 92
原创 android环境
下载的解压版的android-sdk,通过里边的软件选择需要安装的工具。arm eabi需要安装Cannot complete the install because of a conflicting dependency. Software being installed: Android Development Tools 16.0.0.v201112072138-234950 ...
2011-12-13 15:03:48 102
原创 ext2.2全选反选修复
[code="java"]//全选反选var fixGridSelectAll = function(grid) {var sm = grid.getSelectionModel();var store = grid.getStore();sm.addListener("selectionchange", function(thiz) {var hd = grid.getEl().sele...
2011-11-18 11:01:44 106
原创 文件快速重命名
一个简单的bat,文件选择以此bat打开的话会自动在文件名后面加_或者去掉_如果选择了默认以此打开以后只要双击就行,对tomcat的服务布署xml文件与取消很方便[code="java"]@echo offset str=%1set tmp=%~nx1set "tmp=%tmp:~-1%"set newName=%~nx1if not "%tmp%"=="_" ...
2011-10-13 10:29:32 137
原创 ext fck 第二次 不弹出 问题
在efckeditor中添加:[code="javascript"] onDestroy : function(){ delete FCKeditorAPI.Instances[this.name]; window.FCKeditorAPI = null; delete window.FCKeditorAPI; Ext.Cont...
2011-09-23 14:52:00 97
原创 Tomcat Session持久化配置(转载)
Session持久化server.xml[code="java"] [/code]参数说明:saveOnRestart-服务器关闭时,是否将所有的session保存到文件中;maxActiveSessions-可处于活动状态的session数;minIdleSwap/maxIdleSwap-session处于不活动状态最短/长时间(s),sesso...
2010-12-21 10:34:29 325
原创 [转] jQuery和ExtJS的timeOut超时设置和event事件处理
jQuery和ExtJS的timeOut超时设置和event事件处理2009-09-14 09:22 by Mainz, 1485 visits, 网摘, 收藏, 编辑ajax请求如何自定义超时时间,并处理相应的超时事件呢?对jQuery来说,超时可以直接设置timeout参数,并在error事件中捕获第二个参数,如果是“timeout”则表明捕获了超时事件,非常清楚。...
2010-12-21 10:02:58 108
原创 ie桌面链接新窗口打开
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\AllowWindowReuse的值为0
2010-11-25 08:24:07 92
css2.0 handbook
2008-09-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人