锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产亚洲精品91,亚洲综合成人婷婷五月网址,亚洲一级特黄特黄的大片http://m.tkk7.com/willim/zh-cnFri, 16 May 2025 01:59:49 GMTFri, 16 May 2025 01:59:49 GMT60Spring鐨凞AO瀛︿範絎旇http://m.tkk7.com/willim/archive/2007/01/22/95244.htmlwilllimwilllimMon, 22 Jan 2007 03:22:00 GMThttp://m.tkk7.com/willim/archive/2007/01/22/95244.htmlhttp://m.tkk7.com/willim/comments/95244.htmlhttp://m.tkk7.com/willim/archive/2007/01/22/95244.html#Feedback0http://m.tkk7.com/willim/comments/commentRss/95244.htmlhttp://m.tkk7.com/willim/services/trackbacks/95244.html1.鐞嗚В鐨凷pring鐨凞ataAccessException
DataAccessException錛氭槸Spring鎻愪緵浜嗕竴縐嶄笌鐗瑰畾鎶鏈棤鍏崇殑寮傚父錛屽疄鐜版湇鍔″眰涓庢暟鎹闂眰鐨勫垎紱匯?/p>

浣犱笉涓瀹氳澶勭悊DataAccessException,鍚屾椂鐢變簬DataAccessException鏄疦estedRunTimeException鐨勫瓙綾伙紝
浣犲彲浠ラ氳繃瀹冪殑getCourse()鑾峰緱瀵艱嚧榪欎釜寮傚父鐨勫彟涓涓紓甯革紝榪欐牱浣犲氨鍙互鑾峰緱涓庣壒瀹氭妧鏈浉鍏崇殑寮傚父淇℃伅銆?/p>

Spring涓轟綘鎵撻犲紓甯稿垎綾?br />Spring娓呮涓庣壒瀹氭妧鏈浉鍏崇殑寮傚父錛孲pring鑷繁浼氭姏鍑烘洿涓虹簿紜殑寮傚父
CleanupFailureDataAccessException
DataAccessResourceFailureException
DataIntegrityViolationException
DataRetrieveFailureException
DeadlockLoserDataAccessException
IncorrectUpdataSemanticsDataAccessException
InvalidDataAccessApiUsageException
InvalidDataAccessResourceUsageException
OptimisticLockingFailureException
TypeMismatchDataAccessException
UncategorizeDataAccesException

2.涓嶥ataSource涓璧峰伐浣?br />浠嶫NDI涓幏寰桪ataSource
鍒涘緩涓涓狣ataSource榪炴帴姹犅?org.apache.commons.dbcp.BasicDataSource
鍦ㄦ祴璇曟椂浣跨敤DataSource聽聽 DriveManageDataSource

3.涓鑷寸殑DAO鏀寔
Tempate妯″紡
嫻佺▼欏哄簭涓嶅彉錛屽彲鑳芥湁鏌愪釜嫻佺▼鐨勭粏鑺傛槸瑕佸彉鍖栵紝榪欎釜浜ょ粰鎺ュ彛浜嗭紝鐒跺悗姣忎釜瀹炵幇鐫鍘誨疄鐜拌繖涓帴鍙e氨鍙互銆?br />鎵浠pring鏄氳繃鎻愪緵鐩稿簲鐨勬ā鏉跨被鏉ュ疄鐜扮殑錛屽悓鏃朵篃鎻愪緵浜嗘敮鎾戠被銆?/p>

4.Spring涓巋ibernate鏁村悎
Spring涓巋ibernate鏁村悎涓昏鍦ㄤ互涓嬪嚑鏂歸潰錛?br />鏁村悎浜嬪姟綆$悊
寮傚父澶勭悊
綰跨▼瀹夊叏錛岃交閲忕駭妯℃澘綾?br />渚垮埄鐨勬敮鎸佺被
璧勬簮綆$悊

閰嶇疆SessionFactory
LocalSessionFactoryBean
dataSource
hibernateProperties
mappingDirectoryLocations
mappingResources

HibernateTemplate
HibernateDaoSupport



willlim 2007-01-22 11:22 鍙戣〃璇勮
]]>
JSP瀛︿範絎旇(EL綃?http://m.tkk7.com/willim/archive/2006/12/31/91118.htmlwilllimwilllimSun, 31 Dec 2006 03:19:00 GMThttp://m.tkk7.com/willim/archive/2006/12/31/91118.htmlhttp://m.tkk7.com/willim/comments/91118.htmlhttp://m.tkk7.com/willim/archive/2006/12/31/91118.html#Feedback0http://m.tkk7.com/willim/comments/commentRss/91118.htmlhttp://m.tkk7.com/willim/services/trackbacks/91118.html1.濡備綍閫氳繃EL璁塊棶Implicit Object
EL鍙互鐢ㄥ湪涓や釜浣嶇疆錛?br />a.template text
b.鏍囧噯鏍囩鍜岃嚜瀹氫箟鏍囩鐨勫睘鎬ц緗?/p>

Implicit Object
涓庡彇鍊艱寖鍥存湁鍏崇殑錛?applicationScope, sessionScope, requestScope, pageScope
涓庤緭鍏ヨ緭鍑烘湁鍏崇殑錛歱aram, paramValues
涓巋ead鏈夊叧鐨勶細header錛宧eaderValues
涓巆ookie鏈夊叧錛歝ookie
涓嶴ervletContext鐨勫垵浣垮寲鍙傛暟鏈夊叧錛歩nitParam
榪樻湁涓涓猵ageContext


2.EL璁塊棶鎿嶄綔絎?br />property鎿嶄綔絎﹀彿錛?鎴栬?[]
闆嗗悎鎿嶄綔絎﹀彿錛歔]
濡傛灉瑕佽闂殑灞炴ч噷闈㈠寘鍚潪瀛楁瘝錛屽繀欏昏鐢╗]

3. EL鍏朵粬鎿嶄綔絎﹀彿
a.Arithmetic: +,-(binary),*,/(div),%(mod)
b.logic: &&(and),||(or), !(not)
c.relational:==(eq), !=(ne), <(lt), >(gt),<=(le),>=(ge)
d.empty:鐢ㄦ潵鍒ゆ柇鏄惁涓簄ull鎴杄mpty
e.conditional: ?

4.EL functions
a.濡備綍浣跨敤el functions
${prefix:functionName(args0,...)}
b.濡備綍瀹氫箟涓涓猣unction
瀹氫箟function蹇呴』鏄竴涓猵ublic static鏂規(guī)硶錛屼笖綾葷殑璁塊棶淇グ絎︿篃鏄痯ublic
package willim;
public class MyFunction{
聽public static boolean equals(String str1, String str2) {
聽聽聽return str1.equals(str2);
聽}
}
c.閰嶇疆descriptor
<function>
聽聽<name>equals</name>
聽聽<function-class>willim.MyFunction</function-class>
聽聽<function-signature>boolean equals(java.lang.String, java.lang.String)</function-signature>
</function>



willlim 2006-12-31 11:19 鍙戣〃璇勮
]]>
鏄撲繚闈㈣瘯棰?/title><link>http://m.tkk7.com/willim/archive/2006/12/28/90515.html</link><dc:creator>willlim</dc:creator><author>willlim</author><pubDate>Thu, 28 Dec 2006 08:14:00 GMT</pubDate><guid>http://m.tkk7.com/willim/archive/2006/12/28/90515.html</guid><wfw:comment>http://m.tkk7.com/willim/comments/90515.html</wfw:comment><comments>http://m.tkk7.com/willim/archive/2006/12/28/90515.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://m.tkk7.com/willim/comments/commentRss/90515.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/willim/services/trackbacks/90515.html</trackback:ping><description><![CDATA[     鎽樿: eBaoTech聽 Test 涓 絎旇瘯 鍏ㄨ嫳鏂囷紙絳旀浠呬唬琛ㄦ湰浜烘剰瑙侊紝鏈漢鍋氫簡涓戦檵鐨勭炕璇戙傚笇鏈涜嚜宸辮鐪熸濊冦傦級 浠?..  <a href='http://m.tkk7.com/willim/archive/2006/12/28/90515.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/willim/aggbug/90515.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/willim/" target="_blank">willlim</a> 2006-12-28 16:14 <a href="http://m.tkk7.com/willim/archive/2006/12/28/90515.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SERVLET瀛︿範絎旇(涓)http://m.tkk7.com/willim/archive/2006/12/25/servlet.htmlwilllimwilllimMon, 25 Dec 2006 14:30:00 GMThttp://m.tkk7.com/willim/archive/2006/12/25/servlet.htmlhttp://m.tkk7.com/willim/comments/89992.htmlhttp://m.tkk7.com/willim/archive/2006/12/25/servlet.html#Feedback0http://m.tkk7.com/willim/comments/commentRss/89992.htmlhttp://m.tkk7.com/willim/services/trackbacks/89992.html鎵撶畻榪欎釜鏄熸湡鎶奡ERVLET鍜孞SP澶嶄範涓?鎴戣涓哄熀紜瀵逛竴涓漢寰堥噸瑕?鎵浠ヤ細緇忓父鍥炶繃澶存潵鐪嬬湅.
1.HTTP鍗忚
姣忎釜鍋歸eb搴旂敤閮藉簲璇ョ啛鎮(zhèn)塇TTP鍗忚鍚?濡傛灉涓嶇啛鎮(zhèn)夊ぇ瀹舵壘浜涜祫鏂欏幓瀛﹀.
GET: 鍙傛暟鐩存帴浣滀負涓涓猶uery string鏀懼埌URL鍚庨潰浼犻掔殑.鍙互鏄痶ext
POST:鍙傛暟鏄綔涓哄皝瑁呬竴涓姹備俊鎭綋閲岀殑.鍙互鏄痶ext鍜宐inary
servlet閲屾湁澶氫釜鏂規(guī)硶鐢ㄦ潵瀵瑰簲澶勭悊http鍗忚鐨勮姹傛柟娉?br />doGet() : link,鍜岀洿鎺ュ湪嫻忚鍣ㄤ腑杈撳叆URL
doPost():聽 閫氳繃form琛ㄥ崟鏄劇ず澹版槑method="post",鍚﹀垯榛樿涓篻et
doDelete(): 閽堝瑕佸垹闄ゆ湇鍔″櫒鐨勬煇浜涜祫婧愮殑璇鋒眰
doTrace(): 璋冭瘯鏈嶅姟鍣ㄨ繛鎺ョ殑http鏂瑰紡
doOptions() : The OPTIONS request determines which HTTP methods the server supports and returns an appropriate header. For example, if a servlet overrides doGet, this method returns the following header:
Allow: GET, HEAD, TRACE, OPTIONS
doPut() : 閽堝瑕佸悜鏈嶅姟鍣ㄦ斁鍏ユ柊鐨勬枃浠剁殑璇鋒眰
doHead(): 閽堝鍙response鐨凥eader淇℃伅鐨勮姹?/p>

褰揷lient鏉ヤ竴涓姹傛椂,doService(HttpServletRequest request, HttpServletResponse response) throws ServletException ,IOException鎺ュ彈榪欎釜,騫墮夋嫨鐩稿簲鐨勮姹傞夋嫨鐩稿簲鐨勬柟娉曡繘琛屽鐞?/p>

2.HttpServletResquest浠嬬粛
甯哥敤鐨勬柟娉?String getParameter(String name)
Enumeration getParameterNames()
String[] getParameterValues(String name)
String聽聽 getHeader(String name)
int getIntHeader(String name)
long getDateHeader(String name)
Enumeration getHeaderNames()
String[] getHeaderValus(String name)
Cookies[] getCookies()

3.HttpServletResponse浠嬬粛
void setContentType(String type)
setHeader(String name, String value)
setIntHeader(String name, int value)
setDateHeader(String name, long value)
addHeader(String name, String name)
addIntHeader(String name, int value)
addDateHeader(String name ,long value)
boolean containsHeader(String name)

PrintWriter getWriter()聽 //榪斿洖瀛楃嫻?br />OutputStream getOutputStream()聽 //榪斿洖瀛楄妭嫻?/p>

void sendRedirect(String URL) //閲嶅畾鍚戝埌鏌愪釜欏甸潰

void sendError(int sc) //鍙戠敓閿欒鍚戝鎴風鍙戦佺姸鎬佺爜
void sendError(int sc, String message)

void addCookie(Cookie cookie) //澧炲姞涓涓猚ookie

Cookie(String name, String value) //聽 cookie鐨勬瀯閫犳柟娉?/p>

4.SERVLET鐨勭敓鍛藉懆鏈?br />servlet loading聽 ---> servlet instantiation ---> call init() ---> call doService handle request ---> call destroy()

public void init(ServletConfig config) throws ServletException
濡傛灉override榪欎釜鏂規(guī)硶蹇呴』鍏堣皟鐢╯uper.init(config)

public void init() throws ServletException

public void service() throws ServletException, IOException

public void destroy() throws ServletException



willlim 2006-12-25 22:30 鍙戣〃璇勮
]]>
鎴戠殑blog寮閫氬暒!!!!! 澶у澶氭潵閫涢?/title><link>http://m.tkk7.com/willim/archive/2006/12/20/89139.html</link><dc:creator>willlim</dc:creator><author>willlim</author><pubDate>Wed, 20 Dec 2006 13:13:00 GMT</pubDate><guid>http://m.tkk7.com/willim/archive/2006/12/20/89139.html</guid><wfw:comment>http://m.tkk7.com/willim/comments/89139.html</wfw:comment><comments>http://m.tkk7.com/willim/archive/2006/12/20/89139.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/willim/comments/commentRss/89139.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/willim/services/trackbacks/89139.html</trackback:ping><description><![CDATA[浠婂ぉ涓澶у枩浜嬪綋鐒跺氨鏄垜緇堜簬鎴愮珛鎴戣嚜宸辯殑blog鍟? 鑰屼笖鏄竴涓猨ava鎶鏈痓log,寰堝叴濂媔ng, 嬈㈣繋澶у鏉ュ悙鍙f按,浠ュ悗鎴戜細鍦ㄨ繖閲屽鍚愬彛姘寸殑.<br /><br /><br />娌℃庝箞鍐欒繃blog, 浣嗘槸鐪嬪埌濂藉浜洪兘鏈夎嚜宸辯殑blog,蹇冮噷鐥掔棐鐨?搴旇鎶婅嚜宸辯殑鎬濇兂,鑷繁瀛︾殑鏂扮煡璇嗙粰澶у鍒嗕韓搴旇鏄竴縐嶄韓鍙椾篃......聽 <br /><br /><br />鍦h癁蹇埌浜? 紲濊春澶у鍦h癁蹇箰!!!!!!<img src ="http://m.tkk7.com/willim/aggbug/89139.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/willim/" target="_blank">willlim</a> 2006-12-20 21:13 <a href="http://m.tkk7.com/willim/archive/2006/12/20/89139.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://xxxck.com" target="_blank">国产婷婷成人久久Av免费高清</a>| <a href="http://tjbdyx.com" target="_blank">一本久久免费视频</a>| <a href="http://ajguild.com" target="_blank">日本最新免费网站</a>| <a href="http://ryhjled.com" target="_blank">久久亚洲春色中文字幕久久久</a>| <a href="http://3688008.com" target="_blank">曰批全过程免费视频在线观看无码 </a>| <a href="http://727744.com" target="_blank">久久亚洲中文字幕精品一区</a>| <a href="http://600c20.com" target="_blank">免费在线观看自拍性爱视频</a>| <a href="http://zjlxblog.com" target="_blank">亚洲av成人一区二区三区在线观看</a>| <a href="http://2255325.com" target="_blank">美女免费精品高清毛片在线视</a>| <a href="http://biarn.com" target="_blank">亚洲AV蜜桃永久无码精品</a>| <a href="http://7t53.com" target="_blank">一区二区三区在线免费</a>| <a href="http://rushiruhua.com" target="_blank">怡红院亚洲怡红院首页</a>| <a href="http://www907ii.com" target="_blank">久久精品免费网站网</a>| <a href="http://xyyfamily.com" target="_blank">亚洲人成77777在线播放网站</a>| <a href="http://abab14.com" target="_blank">国产一二三四区乱码免费</a>| <a href="http://s8sb.com" target="_blank">久久亚洲国产视频</a>| <a href="http://w6446.com" target="_blank">4455永久在线观免费看</a>| <a href="http://yy6653.com" target="_blank">99亚偷拍自图区亚洲</a>| <a href="http://8izh.com" target="_blank">国产无遮挡又黄又爽免费视频</a>| <a href="http://xjscr.com" target="_blank">一级中文字幕乱码免费</a>| <a href="http://wwwav888.com" target="_blank">亚洲av无码片在线播放</a>| <a href="http://kan63.com" target="_blank">曰曰鲁夜夜免费播放视频 </a>| <a href="http://fuzhiwushu.com" target="_blank">亚洲欧洲日产国产最新</a>| <a href="http://zhidianzh.com" target="_blank">一个人免费观看视频www</a>| <a href="http://zdxxxx.com" target="_blank">亚洲AV网一区二区三区</a>| <a href="http://shyangpuks.com" target="_blank">a级亚洲片精品久久久久久久 </a>| <a href="http://747767.com" target="_blank">鲁丝片一区二区三区免费</a>| <a href="http://121fj.com" target="_blank">亚洲一区中文字幕在线电影网</a>| <a href="http://clzqb2b.com" target="_blank">色播在线永久免费视频</a>| <a href="http://cpsc-test.com" target="_blank">一级看片免费视频</a>| <a href="http://zf91.com" target="_blank">亚洲啪啪免费视频</a>| <a href="http://tsxyhq.com" target="_blank">免费欧洲美女牲交视频</a>| <a href="http://www-8908.com" target="_blank">中文字幕免费在线视频</a>| <a href="http://hzkjjy.com" target="_blank">亚洲一级片在线观看</a>| <a href="http://445645.com" target="_blank">免费在线观看a级毛片</a>| <a href="http://26672814.com" target="_blank">无码人妻精品中文字幕免费</a>| <a href="http://blzcn.com" target="_blank">亚洲爆乳AAA无码专区</a>| <a href="http://qiseka.com" target="_blank">亚洲国产精品无码av</a>| <a href="http://chuadang.com" target="_blank">拨牐拨牐x8免费</a>| <a href="http://35xyz.com" target="_blank">在线毛片片免费观看</a>| <a href="http://yy6090qpgdy.com" target="_blank">亚洲av最新在线观看网址</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>