﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-VincentChen‘s Blog-文章分类-WebWork&amp;Struts</title><link>http://www.blogjava.net/Vencent/category/7758.html</link><description>&lt;font color='orange'&gt;本博客仅为收集所用。在此对原作者表示感谢。&lt;/font&gt;
&lt;div class="custom"&gt;
&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-6256612161572960";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = ["FFDDAA","FFDDAA","FFDDAA","FFDDAA"];
google_color_bg = ["FFDDAA","FFDDAA","FFDDAA","FFDDAA"];
google_color_link = ["FFDDAA","0033FF","00008B","99CC33"];
google_color_url = ["999999","0033FF","00008B","FFCC00"];
google_color_text = ["0033FF","AA9999","0033FF","AA9999"];
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;/div&gt;</description><language>zh-cn</language><lastBuildDate>Fri, 02 Mar 2007 00:01:42 GMT</lastBuildDate><pubDate>Fri, 02 Mar 2007 00:01:42 GMT</pubDate><ttl>60</ttl><item><title> Web  显示层技术评估  </title><link>http://www.blogjava.net/Vencent/articles/58380.html</link><dc:creator>Vincent Chen</dc:creator><author>Vincent Chen</author><pubDate>Sat, 15 Jul 2006 17:46:00 GMT</pubDate><guid>http://www.blogjava.net/Vencent/articles/58380.html</guid><wfw:comment>http://www.blogjava.net/Vencent/comments/58380.html</wfw:comment><comments>http://www.blogjava.net/Vencent/articles/58380.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Vencent/comments/commentRss/58380.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Vencent/services/trackbacks/58380.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Web				显示层技术评估								名词界定								显示层的意思就是				PresentationLayer				，也翻译成表现层、展现层、展示层。								本文讨论的范围只包括采用				HTMLTemplate				的显示层技术，不包括				Echo				，				GWT(google ...&nbsp;&nbsp;<a href='http://www.blogjava.net/Vencent/articles/58380.html'>阅读全文</a><img src ="http://www.blogjava.net/Vencent/aggbug/58380.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Vencent/" target="_blank">Vincent Chen</a> 2006-07-16 01:46 <a href="http://www.blogjava.net/Vencent/articles/58380.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Spring + hibernate + webwork + freemarker 整合配置</title><link>http://www.blogjava.net/Vencent/articles/40757.html</link><dc:creator>Vincent Chen</dc:creator><author>Vincent Chen</author><pubDate>Wed, 12 Apr 2006 16:31:00 GMT</pubDate><guid>http://www.blogjava.net/Vencent/articles/40757.html</guid><wfw:comment>http://www.blogjava.net/Vencent/comments/40757.html</wfw:comment><comments>http://www.blogjava.net/Vencent/articles/40757.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Vencent/comments/commentRss/40757.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Vencent/services/trackbacks/40757.html</trackback:ping><description><![CDATA[
		<div class="postText">
				<div class="postText">
						<p>web.xml  <br />// 这里不需要配置字符过滤，网上有的例子加了，实际上<br />webwork.properties里设置如下就可以了页面也是GBK<br />webwork.locale=zh_CN<br />webwork.i18n.encoding=GBK<br />－－－－－－－－－－－－－－－－－－－－－－－－－－－<br /></p>
						<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;">
								<!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>-->
								<span style="color: rgb(0, 0, 255);">&lt;!</span>
								<span style="color: rgb(255, 0, 255);">DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" <br />         "http://java.sun.com/dtd/web-app_2_3.dtd"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
								</span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">web-app</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />  </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">context-param</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />     </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">param-name</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">contextConfigLocation</span>
								<span style="color: rgb(0, 0, 255);">&lt;/</span>
								<span style="color: rgb(128, 0, 0);">param-name</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />     </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">param-value</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">/WEB-INF/classes/applicationContext.xml</span>
								<span style="color: rgb(0, 0, 255);">&lt;/</span>
								<span style="color: rgb(128, 0, 0);">param-value</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />  </span>
								<span style="color: rgb(0, 0, 255);">&lt;/</span>
								<span style="color: rgb(128, 0, 0);">context-param</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br /> </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">listener</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />  </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">listener-class</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />     org.springframework.web.context.ContextLoaderListener</span>
								<br />   <span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">listener-class</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">listener</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br /> </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">listener</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />  </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">listener-class</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />     com.atlassian.xwork.ext.ResolverSetupServletContextListener</span><span style="color: rgb(0, 0, 255);"><br />   &lt;/</span><span style="color: rgb(128, 0, 0);">listener-class</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">listener</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />    </span><span style="color: rgb(0, 128, 0);">&lt;!--</span><span style="color: rgb(0, 128, 0);"><br />    &lt;servlet&gt;<br />    &lt;servlet-name&gt;context&lt;/servlet-name&gt;<br />             &lt;servlet-class&gt;<br />                org.springframework.web.context.ContextLoaderServlet<br />             &lt;/servlet-class&gt;<br />             &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;<br />     &lt;/servlet&gt;<br />     </span><span style="color: rgb(0, 128, 0);">--&gt;</span><span style="color: rgb(0, 0, 0);"><br />    </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">servlet</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">webwork</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">servlet-class</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            com.opensymphony.webwork.dispatcher.ServletDispatcher</span><br />         <span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">servlet-class</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">load-on-startup</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">3</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">load-on-startup</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />    </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">servlet</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br /> </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">servlet</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />  </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">freemarker</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />  </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">servlet-class</span><span style="color: rgb(0, 0, 255);">&gt;</span><br />      <span style="color: rgb(0, 0, 0);">com.opensymphony.webwork.views.freemarker.FreemarkerServlet</span><span style="color: rgb(0, 0, 255);"><br />   &lt;/</span><span style="color: rgb(128, 0, 0);">servlet-class</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />  </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">load-on-startup</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">10</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">load-on-startup</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">servlet</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br />    </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">servlet-mapping</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">webwork</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">url-pattern</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">*.action</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">url-pattern</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />    </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">servlet-mapping</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br /> </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">servlet-mapping</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />  </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">freemarker</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />  </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">url-pattern</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">*.ftl</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">url-pattern</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">servlet-mapping</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br />    </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">welcome-file-list</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">welcome-file</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">index.html</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">welcome-file</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />    </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">welcome-file-list</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br />    </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">taglib</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">taglib-uri</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">webwork</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">taglib-uri</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">taglib-location</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">/WEB-INF/webwork.tld</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">taglib-location</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />    </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">taglib</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br /></span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">web-app</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br /><br /></span></div>
						<br />
						<p>－－－－－－－－－－－－－－－－－－－－－－－－－－－<br /><br />xwork.xml<br /><br />==================---------------------------------------------</p>
						<p>
						</p>
						<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;">
								<!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>-->
								<span style="color: rgb(0, 0, 255);">&lt;?</span>
								<span style="color: rgb(255, 0, 255);">xml version="1.0"</span>
								<span style="color: rgb(0, 0, 255);">?&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
								</span>
								<span style="color: rgb(0, 0, 255);">&lt;!</span>
								<span style="color: rgb(255, 0, 255);">DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN" <br />          "http://www.opensymphony.com/xwork/xwork-1.0.dtd"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
										<br />
								</span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">xwork</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
										<br />  </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">include </span>
								<span style="color: rgb(255, 0, 0);">file</span>
								<span style="color: rgb(0, 0, 255);">="webwork-default.xml"</span>
								<span style="color: rgb(0, 0, 255);">/&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />    </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">package </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="users"</span>
								<span style="color: rgb(255, 0, 0);"> extends</span>
								<span style="color: rgb(0, 0, 255);">="webwork-default"</span>
								<span style="color: rgb(255, 0, 0);">
										<br />        externalReferenceResolver</span>
								<span style="color: rgb(0, 0, 255);">=<br />                       "com.atlassian.xwork.ext.SpringServletContextReferenceResolver"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
										<br />        </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">interceptors</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />            </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">interceptor </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="reference-resolver"</span>
								<span style="color: rgb(255, 0, 0);">
										<br />               class</span>
								<span style="color: rgb(0, 0, 255);">="com.opensymphony.xwork.interceptor.ExternalReferencesInterceptor"</span>
								<span style="color: rgb(0, 0, 255);">/&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />            </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">interceptor-stack </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="myDefaultWebStack"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />                </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">interceptor-ref </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="defaultStack"</span>
								<span style="color: rgb(0, 0, 255);">/&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />                </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">interceptor-ref </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="reference-resolver"</span>
								<span style="color: rgb(0, 0, 255);">/&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />                </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">interceptor-ref </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="model-driven"</span>
								<span style="color: rgb(0, 0, 255);">/&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />       </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">interceptor-ref </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="params"</span>
								<span style="color: rgb(0, 0, 255);">/&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />            </span>
								<span style="color: rgb(0, 0, 255);">&lt;/</span>
								<span style="color: rgb(128, 0, 0);">interceptor-stack</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />        </span>
								<span style="color: rgb(0, 0, 255);">&lt;/</span>
								<span style="color: rgb(128, 0, 0);">interceptors</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
										<br />
								</span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">default-interceptor-ref </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="myDefaultWebStack"</span>
								<span style="color: rgb(0, 0, 255);">/&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />        </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">action </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="blogUser"</span>
								<span style="color: rgb(255, 0, 0);"> class</span>
								<span style="color: rgb(0, 0, 255);">="com.jsblog.action.BlogUserAction"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />   </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">external-ref </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="baseDao"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">baseDaoTarget</span>
								<span style="color: rgb(0, 0, 255);">&lt;/</span>
								<span style="color: rgb(128, 0, 0);">external-ref</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">     <br />    //这里是把applicationContext里配置的DAO 注入action里 action里要有baseDao属性<br />   </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">result </span>
								<span style="color: rgb(255, 0, 0);">name</span>
								<span style="color: rgb(0, 0, 255);">="success"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">/add.htm</span>
								<span style="color: rgb(0, 0, 255);">&lt;/</span>
								<span style="color: rgb(128, 0, 0);">result</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />  </span>
								<span style="color: rgb(0, 0, 255);">&lt;/</span>
								<span style="color: rgb(128, 0, 0);">action</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
						</div>
						<br />
						<p>-------------------------------------------------------------------------<br /><br />applicationContext.xml<br /><br />---------------------------------------------------------------------------</p>
						<p>
						</p>
						<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;">
								<!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>-->
								<span style="color: rgb(0, 0, 255);">&lt;?</span>
								<span style="color: rgb(255, 0, 255);">xml version="1.0"</span>
								<span style="color: rgb(0, 0, 255);">?&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
								</span>
								<span style="color: rgb(0, 0, 255);">&lt;!</span>
								<span style="color: rgb(255, 0, 255);">DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" <br />           "http://www.springframework.org/dtd/spring-beans.dtd"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />
								</span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">beans </span>
								<span style="color: rgb(255, 0, 0);">default-autowire</span>
								<span style="color: rgb(0, 0, 255);">="no"</span>
								<span style="color: rgb(255, 0, 0);"> default-dependency-check</span>
								<span style="color: rgb(0, 0, 255);">="none"</span>
								<span style="color: rgb(255, 0, 0);">
										<br />         default-lazy-init</span>
								<span style="color: rgb(0, 0, 255);">="false"</span>
								<span style="color: rgb(0, 0, 255);">&gt;</span>
								<span style="color: rgb(0, 0, 0);">
										<br />    </span>
								<span style="color: rgb(0, 0, 255);">&lt;</span>
								<span style="color: rgb(128, 0, 0);">bean </span>
								<span style="color: rgb(255, 0, 0);">id</span>
								<span style="color: rgb(0, 0, 255);">="dataSource"</span>
								<span style="color: rgb(255, 0, 0);"> class</span>
								<span style="color: rgb(0, 0, 255);">="org.apache.commons.dbcp.BasicDataSource"</span> 
								<span style="color: rgb(255, 0, 0);"><br />         destroy-method</span><span style="color: rgb(0, 0, 255);">="close"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="driverClassName"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">com.microsoft.jdbc.sqlserver.SQLServerDriver</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">property</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="url"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">&gt;<br />              </span><span style="color: rgb(0, 0, 0);">jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=jsblog;SelectMethod=cursor<br />            </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">property</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="username"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">sa</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">property</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="password"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">jfy</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">property</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />    </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">bean</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br />    </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">bean </span><span style="color: rgb(255, 0, 0);">id</span><span style="color: rgb(0, 0, 255);">="sessionFactory"</span><span style="color: rgb(255, 0, 0);"><br />          class</span><span style="color: rgb(0, 0, 255);">="org.springframework.orm.hibernate.LocalSessionFactoryBean"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="dataSource"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">ref </span><span style="color: rgb(255, 0, 0);">local</span><span style="color: rgb(0, 0, 255);">="dataSource"</span><span style="color: rgb(0, 0, 255);">/&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">property</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="mappingResources"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">list</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />                </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">com/jsblog/BlogUserForm.hbm.xml</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">value</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">list</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">property</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="hibernateProperties"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">props</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />                </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">prop </span><span style="color: rgb(255, 0, 0);">key</span><span style="color: rgb(0, 0, 255);">="hibernate.dialect"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />                    net.sf.hibernate.dialect.SQLServerDialect<br />                </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">prop</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />                </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">prop </span><span style="color: rgb(255, 0, 0);">key</span><span style="color: rgb(0, 0, 255);">="hibernate.show_sql"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);">true</span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">prop</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">props</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">property</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />    </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">bean</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br />    </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">bean </span><span style="color: rgb(255, 0, 0);">id</span><span style="color: rgb(0, 0, 255);">="transactionManager"</span><span style="color: rgb(255, 0, 0);"><br />          class</span><span style="color: rgb(0, 0, 255);">="org.springframework.orm.hibernate.HibernateTransactionManager"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="sessionFactory"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">ref </span><span style="color: rgb(255, 0, 0);">local</span><span style="color: rgb(0, 0, 255);">="sessionFactory"</span><span style="color: rgb(0, 0, 255);">/&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">property</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />    </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">bean</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br /><br />    </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">bean </span><span style="color: rgb(255, 0, 0);">id</span><span style="color: rgb(0, 0, 255);">="baseDaoTarget"</span><span style="color: rgb(255, 0, 0);"> class</span><span style="color: rgb(0, 0, 255);">="com.jsblog.dao.BlogUserDao"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="sessionFactory"</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />            </span><span style="color: rgb(0, 0, 255);">&lt;</span><span style="color: rgb(128, 0, 0);">ref </span><span style="color: rgb(255, 0, 0);">local</span><span style="color: rgb(0, 0, 255);">="sessionFactory"</span><span style="color: rgb(0, 0, 255);">/&gt;</span><span style="color: rgb(0, 0, 0);"><br />        </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">property</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br />    </span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">bean</span><span style="color: rgb(0, 0, 255);">&gt;</span><span style="color: rgb(0, 0, 0);"><br /><br /><br /></span><span style="color: rgb(0, 0, 255);">&lt;/</span><span style="color: rgb(128, 0, 0);">beans</span><span style="color: rgb(0, 0, 255);">&gt;</span></div>
						<br />
						<p>---------------------------------------------------------------------------<br /><br />BlogUserDao.java<br />---------------------------------------------------------------------------<br /></p>
						<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;">
								<!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>-->
								<span style="color: rgb(0, 0, 255);">package</span>
								<span style="color: rgb(0, 0, 0);"> com.jsblog.dao;<br /><br /></span>
								<span style="color: rgb(0, 0, 255);">import</span>
								<span style="color: rgb(0, 0, 0);"> org.springframework.orm.hibernate.support.HibernateDaoSupport;<br /></span>
								<span style="color: rgb(0, 0, 255);">import</span>
								<span style="color: rgb(0, 0, 0);"> org.springframework.orm.hibernate.HibernateCallback;<br /></span>
								<span style="color: rgb(0, 0, 255);">import</span>
								<span style="color: rgb(0, 0, 0);"> org.springframework.orm.hibernate.SessionFactoryUtils;<br /></span>
								<span style="color: rgb(0, 0, 255);">import</span>
								<span style="color: rgb(0, 0, 0);"> com.jsblog.BlogUserForm;<br /><br /></span>
								<span style="color: rgb(0, 0, 255);">import</span>
								<span style="color: rgb(0, 0, 0);"> java.io.Serializable;<br /></span>
								<span style="color: rgb(0, 0, 255);">import</span>
								<span style="color: rgb(0, 0, 0);"> java.util.List;<br /><br /></span>
								<span style="color: rgb(0, 0, 255);">import</span>
								<span style="color: rgb(0, 0, 0);"> net.sf.hibernate.HibernateException;<br /></span>
								<span style="color: rgb(0, 0, 255);">import</span>
								<span style="color: rgb(0, 0, 0);"> net.sf.hibernate.Session;<br /><br /></span>
								<span style="color: rgb(0, 0, 255);">public</span>
								<span style="color: rgb(0, 0, 0);"> </span>
								<span style="color: rgb(0, 0, 255);">class</span>
								<span style="color: rgb(0, 0, 0);"> BlogUserDao </span>
								<span style="color: rgb(0, 0, 255);">extends</span>
								<span style="color: rgb(0, 0, 0);"> HibernateDaoSupport </span>
								<span style="color: rgb(0, 0, 255);">implements</span>
								<span style="color: rgb(0, 0, 0);"> BaseDao {<br /><br />    </span>
								<span style="color: rgb(0, 0, 255);">public</span>
								<span style="color: rgb(0, 0, 0);"> </span>
								<span style="color: rgb(0, 0, 255);">void</span>
								<span style="color: rgb(0, 0, 0);"> insert(BlogUserForm bloguser) {<br />        getHibernateTemplate().save(bloguser);<br />    }<br />}</span>
						</div>
						<br />
				</div>
		</div>
<img src ="http://www.blogjava.net/Vencent/aggbug/40757.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Vencent/" target="_blank">Vincent Chen</a> 2006-04-13 00:31 <a href="http://www.blogjava.net/Vencent/articles/40757.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Webwork 2.2的Action是否使用Spring的prototype­获取的性能对比</title><link>http://www.blogjava.net/Vencent/articles/30717.html</link><dc:creator>Vincent Chen</dc:creator><author>Vincent Chen</author><pubDate>Tue, 14 Feb 2006 15:30:00 GMT</pubDate><guid>http://www.blogjava.net/Vencent/articles/30717.html</guid><wfw:comment>http://www.blogjava.net/Vencent/comments/30717.html</wfw:comment><comments>http://www.blogjava.net/Vencent/articles/30717.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/Vencent/comments/commentRss/30717.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/Vencent/services/trackbacks/30717.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 1、引子：其实是ajoo的这篇“Nuts和Spring 1.2.6 效率对比”和“IoC容器的prototype性能测试 ”，他们在Javaeye上详细讨论了Spring的prototype的缺陷。Spring的prototype指的就是singleton="false"的bean，具体可以看Spring参考手册“3.2.5. To singleton or not to singleton”介绍...&nbsp;&nbsp;<a href='http://www.blogjava.net/Vencent/articles/30717.html'>阅读全文</a><img src ="http://www.blogjava.net/Vencent/aggbug/30717.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/Vencent/" target="_blank">Vincent Chen</a> 2006-02-14 23:30 <a href="http://www.blogjava.net/Vencent/articles/30717.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>