2016年3月6日
摘要: springMVC提供的异常处理主要有两种方式,一种是直接实现自己的HandlerExceptionResolver,另一种是使用注解的方式实现一个专门用于处理异常的Controller——ExceptionHandler。 1、实现自己的HandlerExceptionResolver,Handl 阅读全文
posted @ 2016-03-06 15:35 @ 小浩 阅读(6923) 评论(0) 推荐(0)
摘要: js判断undefined类型 if (reValue== undefined){ alert("undefined"); } 发现判断不出来,最后查了下资料要用typeof方法:if (typeof(reValue) == "undefined") { alert("undefined"); } 阅读全文
posted @ 2016-03-06 14:59 @ 小浩 阅读(205) 评论(0) 推荐(0)