锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久超级碰碰,精品一区二区三区久久久,久久久久久免费精品http://www.aygfsteel.com/super2/category/6646.htmlFact in 2006zh-cnWed, 25 Apr 2007 03:16:50 GMTWed, 25 Apr 2007 03:16:50 GMT60瑙e喅閫氳繃POST欏甸潰鎻愪氦鍚庯紝鏄劇ず涔辯爜闂錛?/title><link>http://www.aygfsteel.com/super2/archive/2007/04/24/113276.html</link><dc:creator>娣樺0渚濇棫</dc:creator><author>娣樺0渚濇棫</author><pubDate>Tue, 24 Apr 2007 09:26:00 GMT</pubDate><guid>http://www.aygfsteel.com/super2/archive/2007/04/24/113276.html</guid><wfw:comment>http://www.aygfsteel.com/super2/comments/113276.html</wfw:comment><comments>http://www.aygfsteel.com/super2/archive/2007/04/24/113276.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/super2/comments/commentRss/113276.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/super2/services/trackbacks/113276.html</trackback:ping><description><![CDATA[     鎽樿: KAO鍙堟槸涔辯爜闂銆?<br>  <a href='http://www.aygfsteel.com/super2/archive/2007/04/24/113276.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/super2/aggbug/113276.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/super2/" target="_blank">娣樺0渚濇棫</a> 2007-04-24 17:26 <a href="http://www.aygfsteel.com/super2/archive/2007/04/24/113276.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>涓縐嶄紭闆呯殑嫻佽鏋舵瀯錛歋truts+Spring+Hibernatehttp://www.aygfsteel.com/super2/archive/2007/04/20/112150.html娣樺0渚濇棫娣樺0渚濇棫Fri, 20 Apr 2007 03:19:00 GMThttp://www.aygfsteel.com/super2/archive/2007/04/20/112150.htmlhttp://www.aygfsteel.com/super2/comments/112150.htmlhttp://www.aygfsteel.com/super2/archive/2007/04/20/112150.html#Feedback0http://www.aygfsteel.com/super2/comments/commentRss/112150.htmlhttp://www.aygfsteel.com/super2/services/trackbacks/112150.html闃呰鍏ㄦ枃

娣樺0渚濇棫 2007-04-20 11:19 鍙戣〃璇勮
]]>
spring+hibernate浠g爜鐨勫熀鏈唴瀹?/title><link>http://www.aygfsteel.com/super2/archive/2007/04/19/112063.html</link><dc:creator>娣樺0渚濇棫</dc:creator><author>娣樺0渚濇棫</author><pubDate>Thu, 19 Apr 2007 14:25:00 GMT</pubDate><guid>http://www.aygfsteel.com/super2/archive/2007/04/19/112063.html</guid><wfw:comment>http://www.aygfsteel.com/super2/comments/112063.html</wfw:comment><comments>http://www.aygfsteel.com/super2/archive/2007/04/19/112063.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/super2/comments/commentRss/112063.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/super2/services/trackbacks/112063.html</trackback:ping><description><![CDATA[     鎽樿: SPRING + HIBERNATE 鎴愬姛榪愯錛岀暀緇欒嚜宸憋紒娌′粈涔堜笢瑗匡紝涓嶈嫻垂鏃墮棿錛屽嬁鐪嬩簡   <a href='http://www.aygfsteel.com/super2/archive/2007/04/19/112063.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/super2/aggbug/112063.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/super2/" target="_blank">娣樺0渚濇棫</a> 2007-04-19 22:25 <a href="http://www.aygfsteel.com/super2/archive/2007/04/19/112063.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Spring Quartz浠誨姟璋冨害紺轟緥http://www.aygfsteel.com/super2/archive/2007/04/18/111703.html娣樺0渚濇棫娣樺0渚濇棫Wed, 18 Apr 2007 10:33:00 GMThttp://www.aygfsteel.com/super2/archive/2007/04/18/111703.htmlhttp://www.aygfsteel.com/super2/comments/111703.htmlhttp://www.aygfsteel.com/super2/archive/2007/04/18/111703.html#Feedback0http://www.aygfsteel.com/super2/comments/commentRss/111703.htmlhttp://www.aygfsteel.com/super2/services/trackbacks/111703.htmlpackage com.xzl.quartz;

import org.apache.log4j.Logger;



public class TJob {
    
private Logger logger = Logger.getLogger(this.getClass().getName());
    
public void doAuth(){
        logger.info(
"寮濮嬭繘琛屼換鍔¤皟搴?楠岃瘉淇℃伅:");
    }

}
1.鍒涘緩涓涓被錛岀被涓柟娉昫oAuth()錛屽榪欎釜鏂規硶榪涜瑙﹀彂
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>
<!--瑕佽皟搴︾殑瀵硅薄-->

    
<bean id="job" class="com.xzl.quartz.TJob"></bean>
<!-- 瀹氫箟鐩爣bean鍜宐ean涓殑鏂規硶 -->
    
<bean id="jobtask" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
        
<property name="targetObject">
            
<ref local="job"/>
        
</property>
        
<property name="targetMethod">
            
<value>doAuth</value>
        
</property>
    
</bean>
<!-- 瀹氫箟瑙﹀彂鐨勬椂闂?nbsp;-->
    
<bean id = "cron" class = "org.springframework.scheduling.quartz.CronTriggerBean">
        
<property name="jobDetail">
            
<ref bean="jobtask"/>
        
</property>
        
<property name="cronExpression">
            
<value>* * 18 * * ?</value>
        
</property>
    
</bean>
<!-- 鎬葷鐞?nbsp;-->
    
<bean autowire = "no" class = "org.springframework.scheduling.quartz.SchedulerFactoryBean">
        
<property name="triggers">
            
<list>
                
<ref local ="cron"/>
            
</list>
        
</property>
    
</bean>

</beans>
2.瀵瑰簲鐨剎ml錛屽悕瀛桱obQuartz.xml   [18鐐圭殑姣忎竴鍒嗭紝姣忎竴縐掗兘榪涜doAuth()鏂規硶鐨勮Е鍙慮
package com.xzl.quartz;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class Test {
    
    
/**
     * 
@param args
     
*/

    
public static void main(String[] args) {
        
// TODO Auto-generated method stub
        
        System.out.println(
"嫻嬭瘯寮濮?/span>");
        ApplicationContext ctx 
= new ClassPathXmlApplicationContext("JobQuartz.xml");
        System.out.println(
"嫻嬭瘯緇撴潫");
        
    }


}

3.榪涜嫻嬭瘯錛屽彧瑕佸姞杞絁obQuartz.xml
4.闇瑕佸姞鍏pring.jar   quartz-all-1.6.0.jar   log4j-1.2.14.jar   commons-collections.jar   jta.jar   commons-logging.jar榪欏嚑涓寘
# For JBoss: Avoid to setup Log4J outside $JBOSS_HOME/server/default/deploy/log4j.xml!
# For all other servers: Comment out the Log4J listener in web.xml to activate Log4J.
log4j.rootLogger=INFO, stdout, logfile

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n

log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File=logs\\test.log
log4j.appender.logfile.MaxFileSize=512KB
# Keep three backup files.
log4j.appender.logfile.MaxBackupIndex=3
# Pattern to output: date priority [category] - message
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n

5.浠ヤ笂鏄痩og4j.properties鍐呭



娣樺0渚濇棫 2007-04-18 18:33 鍙戣〃璇勮
]]>
web.xml鏍鋒澘2.4鐨?/title><link>http://www.aygfsteel.com/super2/archive/2007/04/18/111671.html</link><dc:creator>娣樺0渚濇棫</dc:creator><author>娣樺0渚濇棫</author><pubDate>Wed, 18 Apr 2007 08:21:00 GMT</pubDate><guid>http://www.aygfsteel.com/super2/archive/2007/04/18/111671.html</guid><wfw:comment>http://www.aygfsteel.com/super2/comments/111671.html</wfw:comment><comments>http://www.aygfsteel.com/super2/archive/2007/04/18/111671.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/super2/comments/commentRss/111671.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/super2/services/trackbacks/111671.html</trackback:ping><description><![CDATA[<p> </p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff"><?</span><span style="COLOR: #ff00ff">xml version="1.0" encoding="UTF-8"</span><span style="COLOR: #0000ff">?></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">web-app </span><span style="COLOR: #ff0000">version</span><span style="COLOR: #0000ff">="2.4"</span><span style="COLOR: #ff0000"> xmlns</span><span style="COLOR: #0000ff">="http://java.sun.com/xml/ns/j2ee"</span><span style="COLOR: #ff0000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    xmlns:xsi</span><span style="COLOR: #0000ff">="http://www.w3.org/2001/XMLSchema-instance"</span><span style="COLOR: #ff0000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    xsi:schemaLocation</span><span style="COLOR: #0000ff">="http://java.sun.com/xml/ns/j2ee <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top> <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">context-param</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">param-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">contextConfigLocation</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">param-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">param-value</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">/WEB-INF/TMVC-servlet.xml</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">param-value</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">context-param</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000"> <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    <listener><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        <listener-class><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>            org.springframework.web.context.ContextLoaderListener<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </listener-class><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </listener><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">servlet</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">servlet-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">TMVC</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">servlet-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">servlet-class</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>            org.springframework.web.servlet.DispatcherServlet<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">servlet-class</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">load-on-startup</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">1</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">load-on-startup</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">servlet</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000"> <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    <filter><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        <filter-name>encodingFilter</filter-name><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        <init-param><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>            <param-name>encoding</param-name><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>            <param-value>UTF-8</param-value><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </init-param><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </filter><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    <filter-mapping><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        <filter-name>encodingFilter</filter-name><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        <url-pattern>*.xzl</url-pattern><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </filter-mapping><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>     </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000"> must </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">servlet-mapping</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">servlet-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">TMVC</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">servlet-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">url-pattern</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">*.xzl</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">url-pattern</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">servlet-mapping</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">welcome-file-list</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">welcome-file</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">/hello.jsp</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">welcome-file</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">welcome-file-list</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">web-app</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span></div> <img src ="http://www.aygfsteel.com/super2/aggbug/111671.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/super2/" target="_blank">娣樺0渚濇棫</a> 2007-04-18 16:21 <a href="http://www.aygfsteel.com/super2/archive/2007/04/18/111671.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>*-servlet鐨凷pring MVC鏍鋒澘http://www.aygfsteel.com/super2/archive/2007/04/18/111667.html娣樺0渚濇棫娣樺0渚濇棫Wed, 18 Apr 2007 08:18:00 GMThttp://www.aygfsteel.com/super2/archive/2007/04/18/111667.htmlhttp://www.aygfsteel.com/super2/comments/111667.htmlhttp://www.aygfsteel.com/super2/archive/2007/04/18/111667.html#Feedback0http://www.aygfsteel.com/super2/comments/commentRss/111667.htmlhttp://www.aygfsteel.com/super2/services/trackbacks/111667.html闃呰鍏ㄦ枃

娣樺0渚濇棫 2007-04-18 16:18 鍙戣〃璇勮
]]>
Spring - PropertyPlaceholderhttp://www.aygfsteel.com/super2/archive/2006/01/05/26714.html娣樺0渚濇棫娣樺0渚濇棫Thu, 05 Jan 2006 06:15:00 GMThttp://www.aygfsteel.com/super2/archive/2006/01/05/26714.htmlhttp://www.aygfsteel.com/super2/comments/26714.htmlhttp://www.aygfsteel.com/super2/archive/2006/01/05/26714.html#Feedback0http://www.aygfsteel.com/super2/comments/commentRss/26714.htmlhttp://www.aygfsteel.com/super2/services/trackbacks/26714.html
 1 package com.xzl.properties;
 2 
 3 public class Person {
 4 
 5     private String name;
 6     private int age;
 7     private String home;
 8     private String country;
 9     private String tel;
10     public Person() {
11         super();
12         // TODO Auto-generated constructor stub
13     }
14     /**
15      * @return Returns the age.
16      */
17     public int getAge() {
18         return age;
19     }
20     /**
21      * @param age The age to set.
22      */
23     public void setAge(int age) {
24         this.age = age;
25     }
26     /**
27      * @return Returns the country.
28      */
29     public String getCountry() {
30         return country;
31     }
32     /**
33      * @param country The country to set.
34      */
35     public void setCountry(String country) {
36         this.country = country;
37     }
38     /**
39      * @return Returns the home.
40      */
41     public String getHome() {
42         return home;
43     }
44     /**
45      * @param home The home to set.
46      */
47     public void setHome(String home) {
48         this.home = home;
49     }
50     /**
51      * @return Returns the name.
52      */
53     public String getName() {
54         return name;
55     }
56     /**
57      * @param name The name to set.
58      */
59     public void setName(String name) {
60         this.name = name;
61     }
62     /**
63      * @return Returns the tel.
64      */
65     public String getTel() {
66         return tel;
67     }
68     /**
69      * @param tel The tel to set.
70      */
71     public void setTel(String tel) {
72         this.tel = tel;
73     }
74     
75     public void go(){
76         System.out.println("name:"+this.name);
77         System.out.println("age:"+this.age);
78         System.out.println("home:"+this.home);
79         System.out.println("country:"+this.country);
80         System.out.println("tel:"+this.tel);
81     }
82 }
83 
2.person.properties
1 person.name = super2
2 person.age  = 24
3 person.home = 鍝堝皵婊?BR>4 person.country = 涓浗
5 person.tel  = 12345678  
3.applicationContext.xml
 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
 3 
 4 <beans>
 5     <bean id = "datasource" class = "com.xzl.properties.Person" destroy-method = "close">
 6         <property name = "name">
 7             <value>
 8                 ${person.name}
 9             </value>
10         </property>
11         
12         <property name = "age">
13             <value>
14                 ${person.age}
15             </value>
16         </property>
17         
18         <property name = "home">
19             <value>
20                 ${person.home}
21             </value>
22         </property>
23         
24         <property name = "country">
25             <value>
26                 ${person.country}
27             </value>
28         </property>
29         
30         <property name = "tel">
31             <value>
32                 ${person.tel}
33             </value>
34         </property>
35     </bean>
36 
37 </beans>

4.嫻嬭瘯PTest.java

 1 /**
 2  * 
 3  */
 4 package com.xzl.properties;
 5 
 6 import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
 7 import org.springframework.beans.factory.xml.XmlBeanFactory;
 8 import org.springframework.core.io.FileSystemResource;
 9 
10 /**
11  * @author 璁稿繝浜?BR>12  *
13  */
14 public class PTest {
15 
16     /**
17      * 
18      */
19     public PTest() {
20         super();
21         // TODO Auto-generated constructor stub
22     }
23 
24     /**
25      * @param args
26      */
27     public static void main(String[] args) {
28         // TODO Auto-generated method stub
29         XmlBeanFactory factory = 
30             new XmlBeanFactory(new FileSystemResource("applicationContext.xml"));
31         PropertyPlaceholderConfigurer cfg = new PropertyPlaceholderConfigurer();
32         cfg.setLocation(new FileSystemResource("person.properties"));
33         cfg.postProcessBeanFactory(factory);
34         Person p = (Person)factory.getBean("datasource");
35         p.go();
36     }
37 
38 }
39 

5.緇撴灉錛?BR>name:super2
age:24
home:鍝堝皵婊?BR>country:涓浗
tel:12346578

娣樺0渚濇棫 2006-01-05 14:15 鍙戣〃璇勮
]]>
Spring MVChttp://www.aygfsteel.com/super2/archive/2006/01/04/26594.html娣樺0渚濇棫娣樺0渚濇棫Wed, 04 Jan 2006 10:16:00 GMThttp://www.aygfsteel.com/super2/archive/2006/01/04/26594.htmlhttp://www.aygfsteel.com/super2/comments/26594.htmlhttp://www.aygfsteel.com/super2/archive/2006/01/04/26594.html#Feedback0http://www.aygfsteel.com/super2/comments/commentRss/26594.htmlhttp://www.aygfsteel.com/super2/services/trackbacks/26594.html1.緇ф壙AbstractController

 1 package com.xzl.test;
 2 import java.util.Date;
 3 
 4 import javax.servlet.http.HttpServletRequest;
 5 import javax.servlet.http.HttpServletResponse;
 6 
 7 import org.springframework.web.servlet.ModelAndView;
 8 import org.springframework.web.servlet.mvc.AbstractController;
 9 
10 public class SimpleController extends AbstractController{
11     public ModelAndView handleRequestInternal(HttpServletRequest request,
12             HttpServletResponse response) 
13           throws Exception {
14             
15             // create a model-and-view using 'welcome鈥?/SPAN>
16             ModelAndView mav = new ModelAndView("welcome");
17             // then, add an object to it and return it
18             mav.addObject("date"new Date());
19             return mav;
20           }
21 }
2.dispatcher-servlet.xml
 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
 3 
 4 <beans>
 5     <bean name="simpleController"
 6     class="com.xzl.test.SimpleController"/>
 7    <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
 8         <property name="mappings">
 9             <props>
10                 <prop key="/welcome.c">simpleController</prop>
11             </props>
12         </property>
13     </bean>
14      <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
15         <property name="viewClass"><value>org.springframework.web.servlet.view.JstlView</value></property>
16         <property name="prefix"><value>/</value></property>
17         <property name="suffix"><value>.jsp</value></property>
18     </bean>
19 </beans>
20 

3.web.xml
 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
 3 <web-app>
 4     <servlet>
 5   <servlet-name>dispatcher</servlet-name>
 6   <servlet-class>
 7     org.springframework.web.servlet.DispatcherServlet
 8   </servlet-class>
 9   <load-on-startup>1</load-on-startup>
10 </servlet>
11 
12 
13 
14 <servlet-mapping>
15   <servlet-name>dispatcher</servlet-name>
16   <url-pattern>*.c</url-pattern>
17 </servlet-mapping>
18 
19     <taglib> 
20         <taglib-uri>c</taglib-uri> 
21         <taglib-location>/WEB-INF/c.tld</taglib-location> 
22     </taglib>
23 </web-app>
24 

4.welcome.jsp

 1 <%-- welcome.jsp --%>
 2 <%@ page session="false"%>
 3 <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
 4 <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %> 
 5 <html>
 6   <head>
 7     <title>Hello world!</title>
 8   </head>
 9   <body>
10     <h1>Hello world</h1>
11     <p>
12       Right now, the time is <c:out value="${date}" />
13       .
14     </p>
15   </body>
16 </html>
17 

5.build.xml

 1 <?xml version="1.0"?>
 2 
 3 <project name="SpringMVC" default="deploy">
 4     <property name="src.dir" value="src" />
 5     <property name="web.dir" value="WebRoot" />
 6     <property name="build.dir" value="${web.dir}/WEB-INF/classes" />
 7     <!-- TOMCAT HOME DIR -->
 8     <property name="tomcat.home" value="D:\Program Files\Apache Software Foundation\Tomcat 5.0" />
 9     <property name="deploy.dir" value="${tomcat.home}/webapps/SpringTest" />
10 
11     <target name="build">
12         <mkdir dir="${build.dir}"/>
13         <javac srcdir="${src.dir}" destdir="${build.dir}" target="1.4">
14             <classpath>
15                 <fileset file="${web.dir}/WEB-INF/lib/*.jar" />
16                 <fileset dir="${tomcat.home}/common/lib">
17                     <include name="servlet*.jar"/>
18                 </fileset>
19             </classpath>
20         </javac>
21     </target>
22 
23     <target name="deploy" depends="build">
24         <mkdir dir="${deploy.dir}"/>
25         <copy todir="${deploy.dir}">
26             <fileset dir="${web.dir}">
27                 <include name="**/*.*" />
28             </fileset>
29         </copy>
30     </target>
31 </project>
32 
33 

6.鍏圓NT,鐒跺悗http://localhost:8080/SpringMVC/welcome.c
7.緇撴灉:

Hello world

Right now, the time is Wed Jan 04 10:14:01 GMT 2006 .


 



娣樺0渚濇棫 2006-01-04 18:16 鍙戣〃璇勮
]]>
Spring JavaMail鐨勭ず渚?/title><link>http://www.aygfsteel.com/super2/archive/2006/01/03/26472.html</link><dc:creator>娣樺0渚濇棫</dc:creator><author>娣樺0渚濇棫</author><pubDate>Tue, 03 Jan 2006 13:15:00 GMT</pubDate><guid>http://www.aygfsteel.com/super2/archive/2006/01/03/26472.html</guid><wfw:comment>http://www.aygfsteel.com/super2/comments/26472.html</wfw:comment><comments>http://www.aygfsteel.com/super2/archive/2006/01/03/26472.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/super2/comments/commentRss/26472.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/super2/services/trackbacks/26472.html</trackback:ping><description><![CDATA[錛戯紟鎺ュ彛<BR> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #008080">1</SPAN> <SPAN style="COLOR: #0000ff">package</SPAN><SPAN style="COLOR: #000000"> com.xzl.mail;<BR></SPAN><SPAN style="COLOR: #008080">2</SPAN> <SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">3</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">interface</SPAN><SPAN style="COLOR: #000000"> OrderManager {<BR></SPAN><SPAN style="COLOR: #008080">4</SPAN> <SPAN style="COLOR: #000000">    </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> placeOrder(String email);<BR></SPAN><SPAN style="COLOR: #008080">5</SPAN> <SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">6</SPAN> <SPAN style="COLOR: #000000">}</SPAN></DIV>錛掞紟瀹炵幇<BR> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #008080"> 1</SPAN> <SPAN style="COLOR: #0000ff">package</SPAN><SPAN style="COLOR: #000000"> com.xzl.mail;<BR></SPAN><SPAN style="COLOR: #008080"> 2</SPAN> <SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 3</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> javax.mail.Message;<BR></SPAN><SPAN style="COLOR: #008080"> 4</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> javax.mail.MessagingException;<BR></SPAN><SPAN style="COLOR: #008080"> 5</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> javax.mail.internet.InternetAddress;<BR></SPAN><SPAN style="COLOR: #008080"> 6</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> javax.mail.internet.MimeMessage;<BR></SPAN><SPAN style="COLOR: #008080"> 7</SPAN> <SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 8</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> org.springframework.mail.MailException;<BR></SPAN><SPAN style="COLOR: #008080"> 9</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> org.springframework.mail.SimpleMailMessage;<BR></SPAN><SPAN style="COLOR: #008080">10</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> org.springframework.mail.javamail.JavaMailSender;<BR></SPAN><SPAN style="COLOR: #008080">11</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> org.springframework.mail.javamail.MimeMessagePreparator;<BR></SPAN><SPAN style="COLOR: #008080">12</SPAN> <SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">13</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000"> OrderManagerImpl </SPAN><SPAN style="COLOR: #0000ff">implements</SPAN><SPAN style="COLOR: #000000"> OrderManager {<BR></SPAN><SPAN style="COLOR: #008080">14</SPAN> <SPAN style="COLOR: #000000">    </SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> JavaMailSender mailsender;<BR></SPAN><SPAN style="COLOR: #008080">15</SPAN> <SPAN style="COLOR: #000000">     </SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> SimpleMailMessage message;<BR></SPAN><SPAN style="COLOR: #008080">16</SPAN> <SPAN style="COLOR: #000000">    <BR></SPAN><SPAN style="COLOR: #008080">17</SPAN> <SPAN style="COLOR: #000000">    <BR></SPAN><SPAN style="COLOR: #008080">18</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> setMessage(SimpleMailMessage message)<BR></SPAN><SPAN style="COLOR: #008080">19</SPAN> <SPAN style="COLOR: #000000">         {<BR></SPAN><SPAN style="COLOR: #008080">20</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.message </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> message;<BR></SPAN><SPAN style="COLOR: #008080">21</SPAN> <SPAN style="COLOR: #000000">         }<BR></SPAN><SPAN style="COLOR: #008080">22</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> setMailsender(JavaMailSender mailsender) <BR></SPAN><SPAN style="COLOR: #008080">23</SPAN> <SPAN style="COLOR: #000000">         {<BR></SPAN><SPAN style="COLOR: #008080">24</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.mailsender </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> mailsender;<BR></SPAN><SPAN style="COLOR: #008080">25</SPAN> <SPAN style="COLOR: #000000">     }<BR></SPAN><SPAN style="COLOR: #008080">26</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> placeOrder(</SPAN><SPAN style="COLOR: #0000ff">final</SPAN><SPAN style="COLOR: #000000"> String email) {<BR></SPAN><SPAN style="COLOR: #008080">27</SPAN> <SPAN style="COLOR: #000000">            <BR></SPAN><SPAN style="COLOR: #008080">28</SPAN> <SPAN style="COLOR: #000000">     <BR></SPAN><SPAN style="COLOR: #008080">29</SPAN> <SPAN style="COLOR: #000000">             MimeMessagePreparator preparator </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> MimeMessagePreparator() {<BR></SPAN><SPAN style="COLOR: #008080">30</SPAN> <SPAN style="COLOR: #000000">                </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> prepare(MimeMessage mimeMessage) </SPAN><SPAN style="COLOR: #0000ff">throws</SPAN><SPAN style="COLOR: #000000"> MessagingException {<BR></SPAN><SPAN style="COLOR: #008080">31</SPAN> <SPAN style="COLOR: #000000">                     mimeMessage.setRecipient(Message.RecipientType.TO, <BR></SPAN><SPAN style="COLOR: #008080">32</SPAN> <SPAN style="COLOR: #000000">                             </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> InternetAddress(email));<BR></SPAN><SPAN style="COLOR: #008080">33</SPAN> <SPAN style="COLOR: #000000">                     mimeMessage.setFrom(</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> InternetAddress(message.getFrom()));<BR></SPAN><SPAN style="COLOR: #008080">34</SPAN> <SPAN style="COLOR: #000000">                     </SPAN><SPAN style="COLOR: #008000">/**</SPAN><SPAN style="COLOR: #008000">杞崲緙栫爜涓篏BK</SPAN><SPAN style="COLOR: #008000">*/</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">35</SPAN> <SPAN style="COLOR: #000000">                     mimeMessage.setSubject(message.getSubject(),</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">GBK</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR></SPAN><SPAN style="COLOR: #008080">36</SPAN> <SPAN style="COLOR: #000000">                     mimeMessage.setText(email</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><br></SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">message.getSubject()</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">message.getText(),</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">GBK</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR></SPAN><SPAN style="COLOR: #008080">37</SPAN> <SPAN style="COLOR: #000000">                     <BR></SPAN><SPAN style="COLOR: #008080">38</SPAN> <SPAN style="COLOR: #000000">                 }<BR></SPAN><SPAN style="COLOR: #008080">39</SPAN> <SPAN style="COLOR: #000000">             };<BR></SPAN><SPAN style="COLOR: #008080">40</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff">try</SPAN><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">41</SPAN> <SPAN style="COLOR: #000000">                mailsender.send(preparator);<BR></SPAN><SPAN style="COLOR: #008080">42</SPAN> <SPAN style="COLOR: #000000">             }<BR></SPAN><SPAN style="COLOR: #008080">43</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff">catch</SPAN><SPAN style="COLOR: #000000">(MailException ex) {<BR></SPAN><SPAN style="COLOR: #008080">44</SPAN> <SPAN style="COLOR: #000000">                 </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">log it and go on</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #008080">45</SPAN> <SPAN style="COLOR: #008000"></SPAN><SPAN style="COLOR: #000000">                 System.err.println(ex.getMessage());            <BR></SPAN><SPAN style="COLOR: #008080">46</SPAN> <SPAN style="COLOR: #000000">             }<BR></SPAN><SPAN style="COLOR: #008080">47</SPAN> <SPAN style="COLOR: #000000">         }<BR></SPAN><SPAN style="COLOR: #008080">48</SPAN> <SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">49</SPAN> <SPAN style="COLOR: #000000">}<BR></SPAN><SPAN style="COLOR: #008080">50</SPAN> <SPAN style="COLOR: #000000"></SPAN></DIV>錛擄紟嫻嬭瘯鐢ㄤ緥<BR> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #008080"> 1</SPAN> <SPAN style="COLOR: #0000ff">package</SPAN><SPAN style="COLOR: #000000"> com.xzl.mail;<BR></SPAN><SPAN style="COLOR: #008080"> 2</SPAN> <SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 3</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> org.springframework.beans.factory.BeanFactory;<BR></SPAN><SPAN style="COLOR: #008080"> 4</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> org.springframework.beans.factory.xml.XmlBeanFactory;<BR></SPAN><SPAN style="COLOR: #008080"> 5</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> org.springframework.core.io.ClassPathResource;<BR></SPAN><SPAN style="COLOR: #008080"> 6</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">import</SPAN><SPAN style="COLOR: #000000"> org.springframework.core.io.Resource;<BR></SPAN><SPAN style="COLOR: #008080"> 7</SPAN> <SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 8</SPAN> <SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000"> SpringMailTest {<BR></SPAN><SPAN style="COLOR: #008080"> 9</SPAN> <SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">10</SPAN> <SPAN style="COLOR: #000000">    </SPAN><SPAN style="COLOR: #008000">/**</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #008080">11</SPAN> <SPAN style="COLOR: #008000">     * </SPAN><SPAN style="COLOR: #808080">@param</SPAN><SPAN style="COLOR: #008000"> args<BR></SPAN><SPAN style="COLOR: #008080">12</SPAN> <SPAN style="COLOR: #008000">     </SPAN><SPAN style="COLOR: #008000">*/</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">13</SPAN> <SPAN style="COLOR: #000000">    </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">static</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> main(String[] args) {<BR></SPAN><SPAN style="COLOR: #008080">14</SPAN> <SPAN style="COLOR: #000000">        </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000"> TODO Auto-generated method stub</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #008080">15</SPAN> <SPAN style="COLOR: #008000"></SPAN><SPAN style="COLOR: #000000">        Resource res </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> ClassPathResource(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">xxx.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR></SPAN><SPAN style="COLOR: #008080">16</SPAN> <SPAN style="COLOR: #000000">        BeanFactory bf </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> XmlBeanFactory(res);<BR></SPAN><SPAN style="COLOR: #008080">17</SPAN> <SPAN style="COLOR: #000000">        OrderManagerImpl mail </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> (OrderManagerImpl)bf.getBean(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">orderManager</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR></SPAN><SPAN style="COLOR: #008080">18</SPAN> <SPAN style="COLOR: #000000">        mail.placeOrder(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">jo.o@163.com</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR></SPAN><SPAN style="COLOR: #008080">19</SPAN> <SPAN style="COLOR: #000000">    }<BR></SPAN><SPAN style="COLOR: #008080">20</SPAN> <SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">21</SPAN> <SPAN style="COLOR: #000000">}<BR></SPAN><SPAN style="COLOR: #008080">22</SPAN> <SPAN style="COLOR: #000000"></SPAN></DIV>錛旓紟錛革輯錛枃浠?BR> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #008080"> 1</SPAN> <SPAN style="COLOR: #0000ff"><?</SPAN><SPAN style="COLOR: #ff00ff">xml version="1.0" encoding="UTF-8"</SPAN><SPAN style="COLOR: #0000ff">?></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 2</SPAN> <SPAN style="COLOR: #000000">  </SPAN><SPAN style="COLOR: #0000ff"><!</SPAN><SPAN style="COLOR: #ff00ff">DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"<BR></SPAN><SPAN style="COLOR: #008080"> 3</SPAN> <SPAN style="COLOR: #ff00ff">      "http://www.springframework.org/dtd/spring-beans.dtd"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 4</SPAN> <SPAN style="COLOR: #000000">  <BR></SPAN><SPAN style="COLOR: #008080"> 5</SPAN> <SPAN style="COLOR: #000000">  </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">beans</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 6</SPAN> <SPAN style="COLOR: #000000">      </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">bean </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="mailSender"</SPAN><SPAN style="COLOR: #ff0000"> class</SPAN><SPAN style="COLOR: #0000ff">="org.springframework.mail.javamail.JavaMailSenderImpl"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 7</SPAN> <SPAN style="COLOR: #000000">          </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">property </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="host"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 8</SPAN> <SPAN style="COLOR: #000000">              </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">smtp.163.com</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080"> 9</SPAN> <SPAN style="COLOR: #000000">          </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">property</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">10</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">property </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="username"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">11</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">錛碉汲錛ワ疾錛肌錛譏</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">12</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">property</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">13</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">property </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="password"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">14</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">錛幫肌錛籌汲錛鳳集錛詫激</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">15</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">property</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">16</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">property </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="javaMailProperties"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">17</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">props</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">18</SPAN> <SPAN style="COLOR: #000000">                 </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">prop </SPAN><SPAN style="COLOR: #ff0000">key</SPAN><SPAN style="COLOR: #0000ff">="mail.smtp.auth"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">true</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">prop</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">19</SPAN> <SPAN style="COLOR: #000000">                 </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">prop </SPAN><SPAN style="COLOR: #ff0000">key</SPAN><SPAN style="COLOR: #0000ff">="mail.smtp.timeout"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">25000</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">prop</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">20</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">props</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">21</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">property</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">22</SPAN> <SPAN style="COLOR: #000000">     </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">bean</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">23</SPAN> <SPAN style="COLOR: #000000"> <BR></SPAN><SPAN style="COLOR: #008080">24</SPAN> <SPAN style="COLOR: #000000">     </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">bean </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="mailMessage"</SPAN><SPAN style="COLOR: #ff0000"> class</SPAN><SPAN style="COLOR: #0000ff">="org.springframework.mail.SimpleMailMessage"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">25</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">property </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="from"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">26</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">錛ワ輯錛★緝錛?/SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">27</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">property</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">28</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">property </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="subject"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">29</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">鏍囬</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">30</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">property</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">31</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">property </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="text"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">32</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">鍐呭</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">value</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">33</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">property</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">34</SPAN> <SPAN style="COLOR: #000000">     </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">bean</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">35</SPAN> <SPAN style="COLOR: #000000"> <BR></SPAN><SPAN style="COLOR: #008080">36</SPAN> <SPAN style="COLOR: #000000">     </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">bean </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="orderManager"</SPAN><SPAN style="COLOR: #ff0000"> class</SPAN><SPAN style="COLOR: #0000ff">="com.xzl.mail.OrderManagerImpl"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">37</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">property </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="mailsender"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">38</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">ref </SPAN><SPAN style="COLOR: #ff0000">bean</SPAN><SPAN style="COLOR: #0000ff">="mailSender"</SPAN><SPAN style="COLOR: #ff0000"> </SPAN><SPAN style="COLOR: #0000ff">/></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">39</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">property</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">40</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">property </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="message"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">41</SPAN> <SPAN style="COLOR: #000000">             </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">ref </SPAN><SPAN style="COLOR: #ff0000">bean</SPAN><SPAN style="COLOR: #0000ff">="mailMessage"</SPAN><SPAN style="COLOR: #ff0000"> </SPAN><SPAN style="COLOR: #0000ff">/></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">42</SPAN> <SPAN style="COLOR: #000000">         </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">property</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">43</SPAN> <SPAN style="COLOR: #000000">     </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">bean</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">44</SPAN> <SPAN style="COLOR: #000000"> <BR></SPAN><SPAN style="COLOR: #008080">45</SPAN> <SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">beans</SPAN><SPAN style="COLOR: #0000ff">></SPAN></DIV>錛曪紟瀹屾垚<IMG height=20 src="http://www.aygfsteel.com/Emoticons/hitwall.gif" width=25 border=0><img src ="http://www.aygfsteel.com/super2/aggbug/26472.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/super2/" target="_blank">娣樺0渚濇棫</a> 2006-01-03 21:15 <a href="http://www.aygfsteel.com/super2/archive/2006/01/03/26472.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>