锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲男女一区二区三区,玖玖在线免费视频,99国产欧美久久久精品 http://www.aygfsteel.com/znjqolf/category/5181.htmlAll about Vincent's work and life zh-cn Tue, 27 Feb 2007 08:57:50 GMT Tue, 27 Feb 2007 08:57:50 GMT 60 瀵笰ctionMapperFactory鐨勪竴鐐圭枒鎯?/title> http://www.aygfsteel.com/znjqolf/archive/2006/05/31/49353.htmlVincent Thinking Vincent Thinking Wed, 31 May 2006 14:55:00 GMT http://www.aygfsteel.com/znjqolf/archive/2006/05/31/49353.html http://www.aygfsteel.com/znjqolf/comments/49353.html http://www.aygfsteel.com/znjqolf/archive/2006/05/31/49353.html#Feedback 0 http://www.aygfsteel.com/znjqolf/comments/commentRss/49353.html http://www.aygfsteel.com/znjqolf/services/trackbacks/49353.html
public
聽
class
聽ActionMapperFactory聽
{ 聽聽聽聽 聽聽聽聽
protected
聽
static
聽
final
聽Log聽LOG聽
=
聽LogFactory.getLog(ActionMapperFactory.
class
); 聽聽聽聽
private
聽
static
聽
final
聽HashMap聽classMap聽
=
聽
new
聽HashMap(); 聽聽聽聽
public
聽
static
聽ActionMapper聽getMapper()聽
{ 聽聽聽聽聽聽聽聽
synchronized
聽(classMap)聽
{ 聽聽聽聽聽聽聽聽聽聽聽聽String聽clazz聽
=
聽(String)聽Configuration.get(WebWorkConstants.WEBWORK_MAPPER_CLASS); 聽聽聽聽聽聽聽聽聽聽聽聽
try
聽
{ 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽ActionMapper聽mapper聽
=
聽(ActionMapper)聽classMap.get(clazz); 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
if
聽(mapper聽
==
聽
null
)聽
{ 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽mapper聽
=
聽(ActionMapper)聽ObjectFactory.getObjectFactory().buildBean(clazz,聽
null
); 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽classMap.put(clazz,聽mapper); 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽}
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
return
聽mapper; 聽聽聽聽聽聽聽聽聽聽聽聽}
聽
catch
聽(Exception聽e)聽
{ 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽String聽msg聽
=
聽
"
Could聽not聽create聽ActionMapper:聽WebWork聽will聽*not*聽work!
"
; 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽LOG.fatal(msg,聽e); 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
throw
聽
new
聽RuntimeException(msg,聽e); 聽聽聽聽聽聽聽聽聽聽聽聽}
聽聽聽聽聽聽聽聽}
聽聽聽聽}
}
鏄庣櫧鐨勫憡璇夋垜涓涓?璋㈣阿. 瑙夌殑鏈夌偣闂... ]]> webwork 闄勪歡涓婁紶涓緱涓浜涢棶棰?/title> http://www.aygfsteel.com/znjqolf/archive/2006/04/25/43096.htmlVincent Thinking Vincent Thinking Tue, 25 Apr 2006 10:24:00 GMT http://www.aygfsteel.com/znjqolf/archive/2006/04/25/43096.html http://www.aygfsteel.com/znjqolf/comments/43096.html http://www.aygfsteel.com/znjqolf/archive/2006/04/25/43096.html#Feedback 2 http://www.aygfsteel.com/znjqolf/comments/commentRss/43096.html http://www.aygfsteel.com/znjqolf/services/trackbacks/43096.html 涓轟簡閫氱敤,浠庡ご鍒板熬閮芥槸utf-8. 鑰寃ebwork涓璊akartaMultiPartRequest瀵逛簬澶氱紪鐮佺殑澶勭悊騫朵笉濡傛剰. apache鐨刦ileupload瀵逛簬涓婁紶鏂囦歡鍚嶄負涓枃鐨勯渶瑕侀鍏堟寚瀹欻eaderEncoding鐨勭紪鐮? 鑰寃ebwork瀵逛簬MultiPartRequest鐨剅equest騫舵病鏈夎緗甧ncoding緙栫爜 璇﹁DispatcherUtils.java涓?387琛?br />
聽聽聽聽聽聽聽聽
if
聽(encoding聽
!=
聽
null
聽
&&
聽
!
MultiPartRequest.isMultiPart(request))聽
{ 聽聽聽聽聽聽聽聽聽聽聽聽
try
聽
{ 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽request.setCharacterEncoding(encoding); 聽聽聽聽聽聽聽聽聽聽聽聽}
聽
catch
聽(Exception聽e)聽
{ 聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽LOG.error(
"
Error聽setting聽character聽encoding聽to聽'
"
聽
+
聽encoding聽
+
聽
"
'聽-聽ignoring.
"
,聽e); 聽聽聽聽聽聽聽聽聽聽聽聽}
聽聽聽聽聽聽聽聽}
濡傛灉娌℃湁鎸囧畾HeaderEncoding, 閭d箞榛樿閲囩敤request鐨別ncoding,濡傛灉request涔熸病鏈夋寚瀹氬垯閲囩敤緋葷粺鐨勭紪鐮? 榪欓噷騫舵病鏈夋寚瀹歳equest鐨別ncoding,寰寰瀵艱嚧涓婁紶鏂囦歡鐨勫悕瀛椾貢鐮? 鑷畾涔変竴涓狹ultiPartRequest,璁懼畾涓涓嬪氨ok浜?br /> 瀵逛簬鍚屾椂鎻愪氦鐨勮〃鍗曞煙(form)鍙傛暟,鐢變簬鍦╢orm涓寚瀹氱殑enctype鐨勫叧緋?騫朵笉鑳界洿鎺ョ敤request.getParameter()鎵嶅彇, 鍙兘閫氳繃FileItem.getString()鐨勬柟寮?榪欓噷涔熸槸涓婇潰鐨勯棶棰? 鍙栫殑CharacterEncoding鏄痳equest涓殑,鐢變簬webwork鐨勫師鍥犱笉涓鑷?鍚屾牱闇瑕佹寚瀹氫竴涓? 榪欐牱form鍜屼笂浼犲悓鏃舵彁浜?鍙傛暟,闄勪歡鍚嶉兘姝e父浜?:) ]]>ZK Ajax but no JavaScript http://www.aygfsteel.com/znjqolf/archive/2006/03/14/35305.htmlVincent Thinking Vincent Thinking Tue, 14 Mar 2006 13:40:00 GMT http://www.aygfsteel.com/znjqolf/archive/2006/03/14/35305.html http://www.aygfsteel.com/znjqolf/comments/35305.html http://www.aygfsteel.com/znjqolf/archive/2006/03/14/35305.html#Feedback 2 http://www.aygfsteel.com/znjqolf/comments/commentRss/35305.html http://www.aygfsteel.com/znjqolf/services/trackbacks/35305.html 鍏跺疄鎴戝榪欑綾諱技妗岄潰鐨勫紑鍙戞柟寮忔潵寮鍙憌eb紼嬪簭涓鐐歸兘涓嶆劅鍐掞紝鍥犱負灝佽鐨勪笢瑗垮お澶氾紝鍔垮繀褰卞搷鎵╁睍鎬с傝屼笖瀵瑰簲鐨勭ぞ鍖轟篃寰堝皯錛屽緢澶氬洜绱犲獎鍝嶃? 涓涓紒涓氬簲鐢ㄥ浜庢鏋訛紝鎶鏈茍涓嶆槸鏈閲嶈鐨勶紝闇姹傚拰浜哄憳鐨勭礌璐ㄧ瓑絳夊洜绱犱篃鏄緢鍒剁害鐨勩?寰堝寮婧愮殑涓滆タ錛屽湪鎴戠湅鏉ュ彧鏄?鈥滅湅璧鋒潵寰堢編錛佲?鍥炶繃鏉ヨzk錛岃兘浠ヨ繖縐嶆柟寮忔潵寮鍙戜篃璁歌兘緇欐垜浠緢澶氬惎鍙戙?BR> 鏈夊叴瓚g殑鍙互鍘葷湅鐪嬶細 zk http://zk1.sourceforge.net/ ]]>HSQLDB(涓) http://www.aygfsteel.com/znjqolf/archive/2006/02/24/32335.htmlVincent Thinking Vincent Thinking Fri, 24 Feb 2006 11:55:00 GMT http://www.aygfsteel.com/znjqolf/archive/2006/02/24/32335.html http://www.aygfsteel.com/znjqolf/comments/32335.html http://www.aygfsteel.com/znjqolf/archive/2006/02/24/32335.html#Feedback 1 http://www.aygfsteel.com/znjqolf/comments/commentRss/32335.html http://www.aygfsteel.com/znjqolf/services/trackbacks/32335.html HSQLDB綆浠?nbsp; Vincent 2006騫?鏈?4鏃?BR> 涓 浠涔堟槸HSQLDB? HSQLDB鏄竴涓敤java緙栧啓鐨勫叧緋誨瀷鏁版嵁搴擄紝瀹冩敮鎸丄NSI-92 SQL (BNF tree format) plus SQL 99 and 2003 enhancements. 瀹冩彁渚涗簡涓涓潪甯稿皬鑰屽揩閫熺殑鏁版嵁搴撳紩鎿?鍚屾椂鎻愪緵浜嗙浉鍏崇殑JDBC椹卞姩鍜屼竴浜涘疄鐢ㄧ殑宸ュ叿銆?BR> 鏈鏂扮殑HSQLDB鐗堟湰涓?STRONG>1.8.0 錛岀粡榪囦簡1騫寸殑寮鍙戯紝鍜?.7.2鐩告瘮錛?.8.0鐨勫姛鑳芥洿鍔犲己澶? 瀵規暟鎹簱鐨勫閲忔敮鎸佽揪鍒頒簡8GB錛屾ц兘涔熸洿鍔犲嚭鑹層傚拰褰撳勾鐩告瘮錛孒SQLDB宸茬粡涓嶄粎浠呭緢澶氫漢鐪奸噷鐨勭帺鍏鳳紝瀹屽叏鍙互鑳滀換鍟嗕笟鐨勯渶姹傘?OpenOffice.org 2.0 鐨勬暟鎹簱寮曟搸涓篐SQLDB1.8.0) 榪欓噷鏈変竴寮犳暟鎹簱鐨刾erformance test瀵規瘮鍥?HSQLDB鐨勬ц兘榪滆繙瓚呰繃鍏朵粬鐨勬暟鎹簱) 浜?HSQLDB浠嬬粛 1.1 綆浠?/STRONG> hsqldb.jar 鍖呭惈鎵鏈夌殑緇勪歡(鏁版嵁搴撳紩鎿庯紝jdbc椹卞姩, 鏁版嵁宸ュ叿), 涓嶅悓鐨勫懡浠ょ敤鏉ユ墽琛屼笉鍚岀殑緇勪歡銆?BR>hsqldb.jar涓昏鍖呭惈浜嗕竴涓嬬粍浠?
HSQLDB RDBMS 鏁版嵁搴撳紩鎿?BR> HSQLDB JDBC Driver JDBC椹卞姩 Database Manager 綆$悊宸ュ叿 Query Tool (AWT) 鏌ヨ宸ュ叿 Sql Tool (command line) SQL宸ュ叿
1.2 榪愯宸ュ叿(Running Tools) 鎵鏈夌殑宸ュ叿閮戒互jar鐨勬柟寮忔潵榪愯錛屼笅闈㈢殑渚嬪瓙璁茶繍琛孉WT鏂瑰紡鐨凞ataBase Manager,鎴戜滑鍋囪hsqldb.jar浣嶄簬../lib鐩綍涓?BR>
java -cp ../lib/hsqldb.jar org.hsqldb.util.DatabaseManager
Hsqldb宸ュ叿鐨勪富綾?
org.hsqldb.util.DatabaseManager org.hsqldb.util.DatabaseManagerSwing org.hsqldb.util.Transfer org.hsqldb.util.QueryTool org.hsqldb.util.SqlTool
鍏朵腑錛孌atabaseManager鍜孲qlTool閮藉彲浠ユ湁鍛戒護琛屽弬鏁幫紝浣犲彲浠ョ敤-?鏉ュ療鐪嬪畠浠湁浠涔堝弬鏁般侱atabaseManager鍜孴ransfer閮芥湁鍥懼艦鐣岄潰鍙互鏇村ソ鍦頒氦浜掋?BR> 1.3 榪愯HSQLDB HSQLDB鍙互閫氳繃澶氱涓嶅悓鐨勬柟寮忔潵榪愯錛岄氬父鎶婂畠鍒嗕負Server妯″紡鍜孖n-Process妯″紡(涔熷彨鍋歋tandalone妯″紡)錛屽浜庢瘡縐嶆ā寮忥紝Jar涓兘鏈夌浉搴旂殑瀛愮▼搴忔潵榪愯HSQLDB銆?BR> 姣忎釜HSQLDB鏁版嵁搴撳寘鍚?鍒?涓懡鍚嶇浉鍚屼絾鎵╁睍鍚嶄笉鍚岀殑鏂囦歡緇勬垚錛屼粬浠綅浜庡悓涓涓洰褰曚笅銆備緥濡傦紝鍚嶄負鈥渢est鈥濈殑鏁版嵁搴撳寘鍚簡浠ヤ笅鍑犱釜鏂囦歡錛?nbsp;
test.properties test.script test.log test.dat test.backup
properties鏂囦歡鍖呭惈浜嗘暟鎹簱鐨勫熀鏈厤緗紝script鏂囦歡鍖呭惈浜員able鐨勫畾涔夊拰鍏朵粬鐩稿叧鐨勬暟鎹璞?浠ュ強non-cached琛ㄧ殑鏁版嵁銆俵og鏂囦歡璁板綍浜嗘暟鎹簱鏈榪戞墍鍋氱殑鏇存柊銆俤at鏂囦歡鍖呭惈浜哻ached琛ㄧ殑鏁版嵁錛宐ackup鏂囦歡鏄笂涓嬈℃暟鎹簱鎸佷箙鍖栧悗鐨勫帇緙╁浠芥枃浠訛紝鎵鏈夌殑榪欎簺鏂囦歡閮芥槸鏈鍩烘湰鐨勶紝緇濆涓嶈兘鍒犻櫎銆傚鏋滀綘鐨勬暟鎹簱娌℃湁緙撳啿琛?cached table),test.data鍜宼est.backup鏂囦歡鏄笉浼氬瓨鍦ㄣ傛澶栵紝HSQLDB鏁版嵁搴撳彲浠ラ摼鎺ュ埌紓佺洏涓婁換浣曞湴鏂逛換浣曟牸寮忕殑鏂囨湰鏂囦歡錛屾瘮濡侰SV 鍒楄〃銆?BR> 褰?test"鏁版嵁搴撴鍦ㄨ繍琛屾椂,test.log鏂囦歡鐢ㄦ潵璁板綍鎵鏈夌殑鎿嶄綔璁板綍錛?test.log"鏂囦歡灝嗗湪鏁版嵁搴撴甯稿叧闂?ShutDown)鎯呭喌涓嬭嚜鍔ㄥ垹闄ゃ傚惁鍒欙紙鍦ㄩ潪姝e父閫鍑虹殑鏃跺欙級錛屽畠灝嗙敤鏉ュ湪涓嬫鍚姩HSQLDB鏃舵仮澶?test.log"涓褰曠殑鏇存柊鎿嶄綔銆?test.lck"鏂囦歡涔熷彲浠ョ敤鏉ヨ褰曟暟鎹簱鏄惁琚墦寮錛屽畠鍦℉SQLDB姝e父閫鍑虹殑鏃跺欎細琚Щ闄ゃ傛湁浜涙儏鍐典笅錛孒SQLDB浼氱敓鎴?test.data.old "鏂囦歡錛屼絾闅忓悗浼氳鍒犻櫎鎺夈?BR>娉ㄦ剰: 褰揌SQLDB寮曟搸鍏抽棴鏁版嵁搴撶殑鏃跺欙紝瀹冧細浜х敓鎵╁睍鍚嶄負.new鐨勪復鏃舵枃浠訛紝鐒跺悗浼氭妸榪欎簺鏂囦歡閲嶅懡鍚嶄負涓婇潰鎵鍒楀嚭鐨勬枃浠剁殑鍚嶇О銆?BR>
]]> WebWork2.2 Released! http://www.aygfsteel.com/znjqolf/archive/2006/01/12/27689.htmlVincent Thinking Vincent Thinking Thu, 12 Jan 2006 03:09:00 GMT http://www.aygfsteel.com/znjqolf/archive/2006/01/12/27689.html http://www.aygfsteel.com/znjqolf/comments/27689.html http://www.aygfsteel.com/znjqolf/archive/2006/01/12/27689.html#Feedback 2 http://www.aygfsteel.com/znjqolf/comments/commentRss/27689.html http://www.aygfsteel.com/znjqolf/services/trackbacks/27689.html 鏂扮増鏈槸闈炲父鍊煎緱鏈熷緟鐨?
Full support for Java 5 Annotations and Generics
Rich AJAX support using DWR and Dojo
New QuickStart tool makes development easier than ever
Tons more documentation with over 900 PDF pages!
Client side validation using AJAX or plain JavaScript
Built in support for Continuations
JSR168 /Portlet support for several popular Portlet servers, including Pluto
Rich UI template framework with native support for JSP, FreeMarker, and Velocity
Native support for Spring and Pico IOC containers
More intelligent error reporting
Developer Mode makes building webapps even easier with improved error reporting
Simplified tag syntax
Advanced data binding framework that works with any object, including domain objects
2.2鐗堟湰鏄疻ebWork鐨勪竴涓柊鐨勯噷紼嬬, 鎺ヤ笅鏉ョ殑涓昏綺懼姏灝嗕細鎶曞叆鍒?A >Struts Action Framework Version2.0
]]>
主站蜘蛛池模板:
黄陵县 |
勐海县 |
洪江市 |
福州市 |
清镇市 |
乌拉特前旗 |
德化县 |
武穴市 |
东方市 |
灵宝市 |
新郑市 |
灌云县 |
读书 |
峨眉山市 |
界首市 |
宕昌县 |
巢湖市 |
西安市 |
盐亭县 |
靖州 |
洛宁县 |
泾阳县 |
乌拉特后旗 |
台东县 |
梁河县 |
克东县 |
吴川市 |
清水县 |
漾濞 |
松阳县 |
德清县 |
东阿县 |
建水县 |
庆城县 |
左贡县 |
遵义县 |
宣恩县 |
平江县 |
漳浦县 |
贵南县 |
公安县 |