锘??xml version="1.0" encoding="utf-8" standalone="yes"?>91网在线观看,九九九九九九精品任你躁,亚洲一区日韩精品中文字幕http://www.aygfsteel.com/leisnow/zh-cnThu, 19 Jun 2025 15:33:03 GMTThu, 19 Jun 2025 15:33:03 GMT60鍏充簬Springhttp://www.aygfsteel.com/leisnow/archive/2012/04/06/373503.html闆箣娉?/dc:creator>闆箣娉?/author>Fri, 06 Apr 2012 15:21:00 GMThttp://www.aygfsteel.com/leisnow/archive/2012/04/06/373503.htmlhttp://www.aygfsteel.com/leisnow/comments/373503.htmlhttp://www.aygfsteel.com/leisnow/archive/2012/04/06/373503.html#Feedback0http://www.aygfsteel.com/leisnow/comments/commentRss/373503.htmlhttp://www.aygfsteel.com/leisnow/services/trackbacks/373503.html2.鍒涘緩閰嶇疆鏂囦歡錛歛pplicationContext.xml銆?br />        2.1.瀵煎叆schema銆?br />        2.2<bean id="user" class="com.lei.pojo.User"></bean>

娉細
    1.BeanFactory鍜孉pplicationContext鐨勪富瑕佸尯鍒細BeanFactory寤惰繜鍔犺澆鎵鏈夌殑 Bean錛岀洿鍒?getBean()鏂規硶琚皟鐢ㄧ殑 
 鏃跺?Bean鎵嶄細琚垱寤猴紱ApplicationContext鍒欎細棰勮澆鍏ュ崟渚?Bean錛屽綋璋冪敤 getBean()鏂規硶鐨勬椂鍊欙紝 Bean宸茬粡琚垱寤烘垚鍔熴?br />    2.閰嶇疆bean鐨勬椂鍊欏叾涓彲浠ユ湁id鍜宯ame灞炴э紝id鍏鋒湁鍞竴鎬э紝鍦ㄤ嬌鐢ㄤ腑蹇呴』鍜?java 涓懡鍚嶅彉閲忎竴鏍峰幓鍛藉悕id鐨勫鹼紝浣嗘槸
name灞炴у煎垯娌℃湁瑕佹眰銆俷ame 灞炴у茍涓嶆槸蹇呴』鐨勶紝褰撲笉鍐?name 灞炴ф椂錛宻pring 瀹瑰櫒浼氳嚜鍔ㄧ敓鎴?name 灞炴у箋傞偅涔堝湪鑾?br />鍙栬 bean鐨勬椂鍊欙紝name灞炴у拰class灞炴у肩浉鍚屻?br />    3. 閫氳繃alias鑺傜偣鍙互涓篵ean鎸囧畾涓涓埆鍚嶏紝
                 濡傦細<bean name="userDao" class="com.lei.dao.UserDao"></bean>
                        <alias name="userDao" alias="ud" /> 


]]>
鍏充簬Hibernatehttp://www.aygfsteel.com/leisnow/archive/2012/03/26/372672.html闆箣娉?/dc:creator>闆箣娉?/author>Mon, 26 Mar 2012 01:20:00 GMThttp://www.aygfsteel.com/leisnow/archive/2012/03/26/372672.htmlhttp://www.aygfsteel.com/leisnow/comments/372672.htmlhttp://www.aygfsteel.com/leisnow/archive/2012/03/26/372672.html#Feedback0http://www.aygfsteel.com/leisnow/comments/commentRss/372672.htmlhttp://www.aygfsteel.com/leisnow/services/trackbacks/372672.html1.瀵煎叆鐩稿叧jar鍖呫?br />2.鍒涘緩鎸佷箙鍖栫被銆?br />3.鍒涘緩鏄犲皠鏂囦歡銆?nbsp;
 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <!DOCTYPE hibernate-mapping PUBLIC 
 3     "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
 4     "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
 5 <hibernate-mapping package="com.lei.pojo">
 6     <class name="User" table="t_user">
 7         
 8         <id name="id" column="id">
 9             <generator class="native"/>
10         </id>
11         
12         <property name="username" column="username"/>
13         <property name="password"/>
14         
15     </class>
16 </hibernate-mapping> 
4.鍒涘緩Hibernate閰嶇疆鏂囦歡銆?br />
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
    "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
    "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"
>
<hibernate-configuration>

    <session-factory>
        
        <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
        <property name="hibernate.connection.url">jdbc:mysql:///lei</property>
        <property name="hibernate.connection.username">root</property>
        <property name="hibernate.connection.password">root</property>
    
        <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
        
        <property name="hibernate.c3p0.max_size">10</property>
        <property name="hibernate.c3p0.min_size">2</property>
        <property name="hibernate.c3p0.timeout">5000</property>
        <property name="hibernate.c3p0.max_statements">100</property>
        <property name="hibernate.c3p0.idle_test_period">3000</property>
        <property name="hibernate.c3p0.acquire_increment">2</property>
        <property name="hibernate.c3p0.validate">false</property>
        
        <property name="current_session_context_class">thread</property>
        
        <property name="show_sql">true</property>
        
        <mapping resource="com/lei/pojo/user.hbm.xml"/>
    
    </session-factory>


</hibernate-configuration>
5.嫻嬭瘯榪愯銆?img src ="http://www.aygfsteel.com/leisnow/aggbug/372672.html" width = "1" height = "1" />

]]>
鍏充簬struts2http://www.aygfsteel.com/leisnow/archive/2012/03/24/372633.html闆箣娉?/dc:creator>闆箣娉?/author>Sat, 24 Mar 2012 14:40:00 GMThttp://www.aygfsteel.com/leisnow/archive/2012/03/24/372633.htmlhttp://www.aygfsteel.com/leisnow/comments/372633.htmlhttp://www.aygfsteel.com/leisnow/archive/2012/03/24/372633.html#Feedback0http://www.aygfsteel.com/leisnow/comments/commentRss/372633.htmlhttp://www.aygfsteel.com/leisnow/services/trackbacks/372633.html2.鍦╳eb.xml涓厤緗瓼ilter銆?br />
 1 <filter>
 2     <filter-name>struts2</filter-name>
 3       <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
 4   </filter>
 5  
 6   <filter-mapping>
 7       <filter-name>struts2</filter-name>
 8       <url-pattern>/*</url-pattern>
 9   </filter-mapping>
3.鍦╯rc涓坊鍔爏truts.xml銆?br />
 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <!DOCTYPE struts PUBLIC
 3     "-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
 4     "http://struts.apache.org/dtds/struts-2.1.7.dtd">
 5 <struts>
 6     <package name="mystruts" extends="struts-default">
 7         <action name="hello" class="com.lei.web.HelloAction" method="">
 8             <result name="" type="">xxx</result>
 9         </action>
10     </package>
11 </struts>
4.鍦ˋction涓皟鐢ㄦ寚瀹氱殑鏂規硶銆?img src ="http://www.aygfsteel.com/leisnow/aggbug/372633.html" width = "1" height = "1" />

]]>
javablog灝忛殢絎?/title><link>http://www.aygfsteel.com/leisnow/archive/2012/03/23/372586.html</link><dc:creator>闆箣娉?/dc:creator><author>闆箣娉?/author><pubDate>Fri, 23 Mar 2012 15:26:00 GMT</pubDate><guid>http://www.aygfsteel.com/leisnow/archive/2012/03/23/372586.html</guid><wfw:comment>http://www.aygfsteel.com/leisnow/comments/372586.html</wfw:comment><comments>http://www.aygfsteel.com/leisnow/archive/2012/03/23/372586.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/leisnow/comments/commentRss/372586.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/leisnow/services/trackbacks/372586.html</trackback:ping><description><![CDATA[鎴戠殑BlogJava娉ㄥ唽宸茬粡鏈夋鏃墮棿浜嗭紝鍙槸鑷充粖涓綃囦笢瑗塊兘榪樻病鏈夛紝娌℃庝箞鍐欒繃榪欎釜鍒氬紑濮嬭繕涓嶇煡閬撳浣曞紑濮嬪憿錛屽氨榪欐牱鍚э紝浠ュ悗浜夊彇澶氫竴浜涙椂闂存潵鍐欒繖涓?img src ="http://www.aygfsteel.com/leisnow/aggbug/372586.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/leisnow/" target="_blank">闆箣娉?/a> 2012-03-23 23:26 <a href="http://www.aygfsteel.com/leisnow/archive/2012/03/23/372586.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">辛集市</a>| <a href="http://" target="_blank">朝阳县</a>| <a href="http://" target="_blank">龙山县</a>| <a href="http://" target="_blank">伽师县</a>| <a href="http://" target="_blank">依安县</a>| <a href="http://" target="_blank">灵寿县</a>| <a href="http://" target="_blank">德兴市</a>| <a href="http://" target="_blank">镇雄县</a>| <a href="http://" target="_blank">霍山县</a>| <a href="http://" target="_blank">东莞市</a>| <a href="http://" target="_blank">泊头市</a>| <a href="http://" target="_blank">合肥市</a>| <a href="http://" target="_blank">临澧县</a>| <a href="http://" target="_blank">泽库县</a>| <a href="http://" target="_blank">中西区</a>| <a href="http://" target="_blank">镇安县</a>| <a href="http://" target="_blank">宕昌县</a>| <a href="http://" target="_blank">中卫市</a>| <a href="http://" target="_blank">台湾省</a>| <a href="http://" target="_blank">德清县</a>| <a href="http://" target="_blank">兴安盟</a>| <a href="http://" target="_blank">涿鹿县</a>| <a href="http://" target="_blank">佛坪县</a>| <a href="http://" target="_blank">佛冈县</a>| <a href="http://" target="_blank">深州市</a>| <a href="http://" target="_blank">德江县</a>| <a href="http://" target="_blank">遵义市</a>| <a href="http://" target="_blank">西峡县</a>| <a href="http://" target="_blank">闸北区</a>| <a href="http://" target="_blank">鹤庆县</a>| <a href="http://" target="_blank">九台市</a>| <a href="http://" target="_blank">湖北省</a>| <a href="http://" target="_blank">武功县</a>| <a href="http://" target="_blank">博野县</a>| <a href="http://" target="_blank">黄冈市</a>| <a href="http://" target="_blank">新化县</a>| <a href="http://" target="_blank">伊金霍洛旗</a>| <a href="http://" target="_blank">象州县</a>| <a href="http://" target="_blank">喜德县</a>| <a href="http://" target="_blank">晋宁县</a>| <a href="http://" target="_blank">凯里市</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>