摘要:
1. 参数为String时的插值问题 假设有下面一Dao接口方法 public Account findByAccountType (String type)throws DaoException; 对应的Mapper.xml <select id="findByAccountType " para 阅读全文
摘要:
mybatis的全局配置文件: 1.properties(属性) 将数据库连接参数单独配置在db.properties中,只需要在SqlMapConfig.xml中加载db.properties的属性值,在SqlMapConfig.xml中就不需要对数据库连接 参数硬编码 //或使用spring整合 阅读全文
摘要:
jquery ColorPicker 颜色选择器 阅读全文
摘要:
jxl上传excel导入 阅读全文
摘要:
<div class="col-xs-12 col-md-12"> <label style=" width: 200px;font-size: 16px;font-weight:bold;">事件发生地点</label> </div> <div class="col-xs-12 col-md-12 阅读全文
摘要:
最全的常用正则表达式大全 一、校验数字的表达式 数字:^[0-9]*n位的数字:\dnn位的数字:\dn至少n位的数字:^\d{n,}m−n位的数字:\dm,nm−n位的数字:\dm,n零和非零开头的数字:^(0|[1-9][0-9]*)非零开头的最多带两位小数的数字:([1−9][0−9]∗)+( 阅读全文
摘要:
摘要: JSP的九大内置对象: page,application,session,request,response,out,exception,config,pageContext. JSP的四个作用域:application,session,request,page. //附上jsp转换成serv 阅读全文
摘要:
MAP集合key value 应用 <div class="accordion" fillSpace="sidebar"> <c:forEach var="setting" items="${settings}"> <div class="accordionHeader"> <h2> <span>F 阅读全文
摘要:
jsp部分 json字符串的属性应该都是实体类的属性 function saveCashier(){ layer.closeAll(); var Reapply = document.getElementById('isReapply'); if(actcardflag>0&&Reapply.che 阅读全文