bug
糖分。
=.=
展开
-
unterminated string literal 解决办法(转义字符问题)
存入数据库中的字段是<select name="${item.name}" id="${item.id}" style="${item.styles}" class="commonInput longtext ${item.classes}" >< option value="${item.value}" ></option ><原创 2014-02-21 09:54:40 · 41608 阅读 · 0 评论 -
慎用fn:contains,使用c:forEach替代
做的功能是在jsp页面,有一个list,如果页面中的某个值与list中的值相等,就怎样怎样,如果不相等就怎样怎样开始用的是JSTL的fn:contains函数。没注意,测试后发现,这个函数是“包含”,而不是equals相等假如我的list中有一个数是21,我页面中有1,21,31,那么就会把1和21都选中。因为21包含了1。而我想做的是list中是21就只处理页面上为21的那个原创 2014-03-27 15:42:12 · 5450 阅读 · 0 评论 -
debug模式下eclipse老是自动跳到ThreadPoolExecutor解决方案
debug模式下eclipse总是自动跳到ThreadPoolExecutor解决方案在eclipse中选择Window->Preference->Java->Debug,将“Suspend execution on uncaught exceptions”的勾去掉即可。转载 2014-04-02 14:05:33 · 1716 阅读 · 0 评论