摘要: <bean id="dao" class="Dao"></bean> <bean id="service" class="Service"> <property name="dao" ref="dao" /> </bean> 该类(Service)中必须有个 setDao()方法 这就是利用sett 阅读全文
posted @ 2016-05-12 21:52 李永 阅读(434) 评论(0) 推荐(0) 编辑
摘要: function trim(sValue){ var lastValue=this.replace(/(^\s*)|(\s*$)/g,""); return lastValue; } 阅读全文
posted @ 2016-05-12 16:11 李永 阅读(365) 评论(0) 推荐(0) 编辑