摘要:
本地有修改和提交,如何强制用远程的库更新更新。我尝试过用git pull -f,总是提示 You have not concluded your merge. (MERGE_HEAD exists)。 我需要放弃本地的修改,用远程的库的内容就可以,应该如何做?傻傻地办法就是用心的目录重新clone一 阅读全文
摘要:
一个stmt多个rs进行操作.那么从stmt得到的rs1,必须马上操作此rs1后,才能去得到另外的rs2,再对rs2操作.不能互相交替使用,会引起rs已经关闭错误——Operation not allowed after ResultSet closed.错误的代码如下: stmt=conn.cre... 阅读全文
摘要:
第一种方法(常用方法)://初始化ListList list = new ArrayList();list.add("string1");list.add("string2");//some other list.add() code......list.add("stringN"); //初始化M... 阅读全文
摘要:
今天用selenium2遇到问题org.openqa.selenium.WebDriverException: f.QueryInterface is not a function查了好久最后终于知道问题所在了。网上有好多中解释。但是归根结底其实就是url写的格式不对。url必须是完整的,比如htt... 阅读全文
摘要:
Every time I wrote some code inrubyand executed ourcucumberfeatures I craved for something similar in Java. I knew that there were severalBDD framewor... 阅读全文