打赏
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 36 下一页
摘要: 声明事物:begin tran 回滚事物:ROLLBACK TRAN 提交事物:commit tran(不写会隐式提交) 判断是否发生异常: 结束前: IF @@ERROR <> 0 BEGIN ROLLBACK TRAN RETURN END 2019 02 12 之前看别人博客说是try cat 阅读全文
posted @ 2018-04-18 10:13 每天都要学一点 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 网络上转载的代码,忘记出处了请原作者见谅! des类 import java.security.*; import javax.crypto.*; /** * DES加解密算法 */ public class DES { private static String strDefaultKey = " 阅读全文
posted @ 2018-04-18 10:09 每天都要学一点 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 以前项目中copy出来的 import java.security.MessageDigest; public class MD5Util { /** * @todo MD5加码 生成32位md5码 * @author zhangyanan * @datetime 2018年1月17日下午4:59: 阅读全文
posted @ 2018-04-18 10:03 每天都要学一点 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 事物作用的impl类这样写的 如果没有 1.4.3. Rolling Back a Declarative Transaction The previous section outlined the basics of how to specify transactional settings fo 阅读全文
posted @ 2018-04-18 09:16 每天都要学一点 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 做测试时频繁点击一个按钮,返回alert,正常时alert框如下 多次测试后出现如下 出现了个关闭网页,想必是微信的一种机制,模糊记得之前也出现过这个关闭网页的情况,大家不用担心 阅读全文
posted @ 2018-04-17 10:46 每天都要学一点 阅读(1472) 评论(0) 推荐(0) 编辑
摘要: 设置zoom属性(放大) 利用style: <input type="checkbox" name="returnfee" style="zoom:180%;"> 利用css3: input[type="radio"],input[type="checkbox"]{ zoom:180%; } 阅读全文
posted @ 2018-04-13 14:44 每天都要学一点 阅读(16384) 评论(0) 推荐(1) 编辑
摘要: server.xml和tomcat-users.xml都是设置于过了,还是403,最后发现context.xml中多了一行 <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127.0.0.1" deny="11 阅读全文
posted @ 2018-04-12 13:34 每天都要学一点 阅读(1949) 评论(0) 推荐(0) 编辑
摘要: 完整异常: 严重: Servlet.service() for servlet [bjbr] in context with path [/HerPeisWechat] threw exception [Unable to compile class for JSP] with root cause 阅读全文
posted @ 2018-04-12 10:58 每天都要学一点 阅读(1590) 评论(0) 推荐(0) 编辑
摘要: 失败信息如下: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardH 阅读全文
posted @ 2018-04-12 09:33 每天都要学一点 阅读(1594) 评论(0) 推荐(0) 编辑
摘要: 先看下面代码 Test.java A.java B.java 运行输出: as1234 分析:是匿名内部类的写法,看着像实例化了抽象类和接口一样。 A a=new A(){}是定义了一个内部类继承了抽象类A,B b=new B(){}是定义了一个内部类实现了接口B 参考资料: java代码:new 阅读全文
posted @ 2018-04-10 20:05 每天都要学一点 阅读(5577) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 36 下一页