在Eclipse中新建DynamicWebProject的时候不要直接点"完成",在下一步有个勾选项(Generate web.xml deployment descriptor),选上就会默认生成web.xml。...
分类:
Web程序 时间:
2014-11-18 16:01:03
阅读次数:
209
It’s easy to see that Paxos does have a failure mode. When two proposers are active at the same time, they may ‘duel’ for highest proposal number by a...
分类:
其他好文 时间:
2014-11-18 06:56:58
阅读次数:
191
本文翻译自Elasticsearch官方指南的life
inside a cluster一章。
增加故障转移(Failover)功能
只运行一个节点意味着可能存在着单点失败(Single point of failure)的问题 - 因为没有冗余。幸运的是,解决这个问题我们只需要启动另一个节点。
启动第二个节点
为了试验当你添加第二节点时会发生什么,你需...
分类:
其他好文 时间:
2014-11-17 10:45:26
阅读次数:
748
Extjs的三种提交方式:表单Ajax提交,普通提交,单独Ajax提交;1.表单ajax提交(默认提交方式)提交函数:当按下表单中的提交按钮时执行下面的btn函数,按照表单的name进行提交。提交数据后根据后台的返回值不同来回调success或者failure函数(和单独ajax的提交不同),后台返...
分类:
Web程序 时间:
2014-11-14 22:33:22
阅读次数:
297
今天在使用UISearchBar的时候,当真机调试时当点击进入UISearchBar的编辑模式时,程序闪退,错误代码如下: 2014-11-14 11:51:55.552 EcoDuo[3306:1350850] <UIView: 0x17018b120; frame = (0 0; 290 44); clipsT...
分类:
Web程序 时间:
2014-11-14 16:03:06
阅读次数:
271
建立了一个域用户ftp.始终登陆不上winserver 2008 R2上的FTP.错误如下:530-User cannot log in.Win32 error: Logon failure: unknown user name or bad password.Error details: Anon...
分类:
Windows程序 时间:
2014-11-13 15:59:42
阅读次数:
1076
如果jar文件是以外部依赖的形式导入的。Eclipse将web项目发布到Tomcat时,是不会自动发布这些依赖的。
可以通过Eclipse在项目上右击 - Propertics - Deployment Assembly,添加“Java Build Path Entries”,添加所有依赖的jar包,就可以在发布时自动发布外部依赖的jar包。...
分类:
编程语言 时间:
2014-11-10 21:52:44
阅读次数:
361
Local database deployment problems and fixtures...
分类:
数据库 时间:
2014-11-07 20:50:26
阅读次数:
200
Getting Office License Configuration Information.---------------------------------------Backing Up License Info In Case Of Failure.-------------------...
分类:
其他好文 时间:
2014-11-07 18:30:05
阅读次数:
231
IntroductionOn Running Software运行时软件There’s something rather unique in Erlang in how it approaches failure compared to most other programming languages. There’s this common way of thinking where the...
分类:
其他好文 时间:
2014-11-06 20:04:07
阅读次数:
296