锘??xml version="1.0" encoding="utf-8" standalone="yes"?>77777午夜亚洲,亚洲欧洲日产国产综合网,午夜影视日本亚洲欧洲精品一区http://www.tkk7.com/oxl/articles/44560.htmloxloxlThu, 04 May 2006 14:27:00 GMThttp://www.tkk7.com/oxl/articles/44560.htmlhttp://www.tkk7.com/oxl/comments/44560.htmlhttp://www.tkk7.com/oxl/articles/44560.html#Feedback0http://www.tkk7.com/oxl/comments/commentRss/44560.htmlhttp://www.tkk7.com/oxl/services/trackbacks/44560.html鐪嬩笅闈㈣繖孌典唬鐮?
ActionContext聽context聽=聽ActionContext.getContext();
Map聽params聽
=聽context.getParameters();
String聽username聽
=聽(String) params.get("username");

榪欎細鎶涘嚭涓涓竴寮傚父,鍥犱負鍦╬arams.get("username")榪斿洖鐨勬槸涓涓瓧絎︿覆鏁扮粍,鎵浠ヤ笉鑳借繖鏍瘋漿鎹?

姝g‘鐨勫仛娉曟槸:
String username = ((String[])params.get("username"))[0];









oxl 2006-05-04 22:27 鍙戣〃璇勮
]]>
WebWork 2.2 瀛︿範絎旇(浜? http://www.tkk7.com/oxl/articles/44490.htmloxloxlWed, 03 May 2006 17:02:00 GMThttp://www.tkk7.com/oxl/articles/44490.htmlhttp://www.tkk7.com/oxl/comments/44490.htmlhttp://www.tkk7.com/oxl/articles/44490.html#Feedback0http://www.tkk7.com/oxl/comments/commentRss/44490.htmlhttp://www.tkk7.com/oxl/services/trackbacks/44490.html閫愪釜璁茶ВWebWork涓殑涓浜涢厤緗枃浠剁殑鍩烘湰鐢ㄦ硶:
----------------------------------------------------------------------------
web.xml
<filter>
聽聽聽聽
<filter-name>webwork</filter-name>
聽聽聽聽
<filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
聽聽聽聽
<filter-name>webwork</filter-name>
聽聽聽聽
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
聽聽聽聽
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

榪欓噷浣跨敤浜嗕竴涓狥ilter鏉ュ鎵鏈夌殑url榪涜榪囨護,鑰屽彧鏈夊湪webwork.properties涓殑璁懼畾鐨剋ebwork.action.extension浣滀負鎵╁睍鍚嶆墠浼氳瑙f倝涓轟竴涓猘ction.
鑰屽畾涔変簡涓涓洃鍚櫒涓昏鏄敤Spring鐨勭洃鍚琖eb瀹瑰櫒閲岀殑鍙樺寲,榪欓噷涓昏鏄敤浜嶴pring浣滀負WebWork鐨処oC.濡傛灉鎯寵Spring鏈夊涓猚ontext閰嶇疆鏂囦歡,閭e氨鍙姞鍏ヤ笅闈㈢殑浠g爜:
<context-param>
聽聽聽聽
<param-name>contextConfigLocation</param-name>
聽聽聽聽
<param-value>/WEB-INF/applicationContext-*.xml,classpath*:applicationContext-*.xml</param-value>
</context-param>
*param-value鏄敤閫楀彿闅斿紑鐨勯厤緗枃浠跺垪琛?璁頒綇鏄敤鐩稿浜嶹eb搴旂敤鐨勮礬寰?

榪欓噷濡傛灉鎯沖畾涔変竴涓猈ebWork tag,閭d箞灝卞彲鍔犲叆浠ヤ笅鐨勪唬鐮?
<taglib>
聽聽聽聽
<taglib-uri>webwork</taglib-uri>
聽聽聽聽
<taglib-location>/WEB-INF/lib/webworkxx.jar</taglib-location>
</taglib>
榪欐牱,鍦ㄨ鍥緅sp鏂囦歡涓紩鐢╓ebWork tag鏃?鍙』瑕佹妸uri="webwork"灝辮浜?鑰屼笉鐢ㄥ啓鎴愯繖鏍穟ri="/webwork".

--------------------------------------------------------------------------------
鍦ㄨxwork.xml涔嬪墠,鎴戜滑鍏堜簡瑙ebwork-default.xml鏂囦歡,榪欎釜鏂囦歡鏄敱webwork.jar鏂囦歡閲屾湁鐨?瀛樻斁鍦╟lasspath涓?鎵浠ユ垜浠笉鐢ㄥ垱寤鴻繖涓枃浠?鍥犱負姣忔榪愯webwork搴旂敤鏃?webwork閮戒細鑷姩鍘籧lasspath鏌ユ壘榪欎釜鏂囦歡.榪欎釜鏂囦歡棰勫厛璁劇疆濂戒簡涓浜涢粯璁ょ殑鍙傛暟,姣斿result type, interceptors絳?鍙互璇存槸鎴戜滑xwork.xml涓殑榛樿鍊?鍚屾椂涔熶負鎴戜滑鐨剎work.xml鎻愪緵濂戒簡寰堝宸ュ叿,姣斿params鎷︽埅鍣ㄥ氨鏄渶鍏稿瀷鐨勪竴涓?

鍦ㄧ紪鍐檟work.xml鏃?鎴戜滑涓鑸兘瑕佸鍏ヨ繖涓獁ebwork-default.xml鏂囦歡,浠g爜濡備笅:
<include聽file="webwork-default.xml"/>

鍏蜂綋鐨剎work.xml閰嶇疆,鐢變互鍚庣殑瀛︿範涓粰鍑?..(鍛?...鎴戜篃榪樹笉娓呮,娌℃湁瀹炶返榪囧憿..)
xwork.xml鏂囦歡蹇呴』鏀懼湪/WEB-INF/classes/涓?

--------------------------------------------------------------------------------

涓嬮潰璇翠竴涓媤ebwork.properties鏂囦歡,榪欎釜鏂囦歡鏄厤緗畐ebwork琛屼負鐗規х殑鏂囦歡,浠栧彲浠ユ敼鍙榳ebwork鐨勬墿灞曞悕,浠ュ強緙栫爜絳?榪欎釜鏂囦歡鐨勮緇嗚鏄庡彲浠ュ弬鑰冨畼鏂圭殑鏂囨。:
###聽Webwork聽default聽properties
###(can聽be聽overridden聽by聽a聽webwork.properties聽file聽in聽the聽root聽of聽the聽classpath)
###

###聽Specifies聽the聽Configuration聽used聽to聽configure聽webwork
###聽one聽could聽extend聽com.opensymphony.webwork.config.Configuration
###聽to聽build聽one's聽customize聽way聽of聽getting聽the聽configurations聽parameters聽into聽webwork
#聽webwork.configuration=com.opensymphony.webwork.config.DefaultConfiguration

###聽This聽can聽be聽used聽to聽set聽your聽default聽locale聽and聽encoding聽scheme
#聽webwork.locale=en_US

webwork.i18n.encoding=UTF-8

###聽if聽specified,聽the聽default聽object聽factory聽can聽be聽overridden聽here
###聽Note:聽short-hand聽notation聽is聽supported聽in聽some聽cases,聽such聽as聽"spring"
###聽聽聽聽聽聽聽Alternatively,聽you聽can聽provide聽a聽com.opensymphony.xwork.ObjectFactory聽subclass聽name聽here
#聽webwork.objectFactory聽=聽spring

###聽specifies聽the聽autoWiring聽logic聽when聽using聽the聽SpringObjectFactory.
###聽valid聽values聽are:聽name,聽type,聽auto,聽and聽constructor聽(name聽is聽the聽default)

webwork.objectFactory.spring.autoWire聽=聽name

###聽Parser聽to聽handle聽HTTP聽POST聽requests,聽encoded聽using聽the聽MIME-type聽multipart/form-data
#聽webwork.multipart.parser=cos
#聽webwork.multipart.parser=pell

webwork.multipart.parser=jakarta
#聽uses聽javax.servlet.context.tempdir聽by聽default
webwork.multipart.saveDir=
webwork
.multipart.maxSize=2097152

###聽Load聽custom聽property聽files聽(does聽not聽override聽webwork.properties!)
#聽webwork.custom.properties=application,com/webwork/extension/custom

###聽How聽request聽URLs聽are聽mapped聽to聽and聽from聽actions

webwork.mapper.class=com.opensymphony.webwork.dispatcher.mapper.DefaultActionMapper

###聽Used聽by聽the聽DefaultActionMapper
webwork.action.extension=action

###聽use聽alternative聽syntax聽that聽requires聽%{}聽in聽most聽places
###聽to聽evaluate聽expressions聽for聽String聽attributes聽for聽tags

webwork.tag.altSyntax=true

###聽when聽set聽to聽true,聽WebWork聽will聽act聽much聽more聽friendly聽for聽developers.聽This
###聽includes:
###聽-聽webwork.i18n.reload聽=聽true
###聽-聽webwork.configuration.xml.reload聽=聽true
###聽-聽raising聽various聽debug聽or聽ignorable聽problems聽to聽errors
###聽聽聽For聽example:聽normally聽a聽request聽to聽foo.action?someUnknownField=true聽should
###聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽be聽ignored聽(given聽that聽any聽value聽can聽come聽from聽the聽web聽and聽it
###聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽should聽not聽be聽trusted).聽However,聽during聽development,聽it聽may聽be
###聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽useful聽to聽know聽when聽these聽errors聽are聽happening聽and聽be聽told聽of
###聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽them聽right聽away.

webwork.devMode聽=聽false

###聽when聽set聽to聽true,聽resource聽bundles聽will聽be聽reloaded聽on聽_every_聽request.
###聽this聽is聽good聽during聽development,聽but聽should聽never聽be聽used聽in聽production

webwork.i18n.reload=false

###聽Standard聽UI聽theme
###聽Change聽this聽to聽reflect聽which聽path聽should聽be聽used聽for聽JSP聽control聽tag聽templates聽by聽default

webwork.ui.theme=xhtml
webwork
.ui.templateDir=template
#sets聽the聽default聽template聽type.聽Either聽ftl,聽vm,聽or聽jsp
webwork.ui.templateSuffix=ftl

###聽Configuration聽reloading
###聽This聽will聽cause聽the聽configuration聽to聽reload聽xwork.xml聽when聽it聽is聽changed

webwork.configuration.xml.reload=false

###聽Location聽of聽velocity.properties聽file.聽聽defaults聽to聽velocity.properties
#聽webwork.velocity.configfile聽=聽velocity.properties

###聽Comma聽separated聽list聽of聽VelocityContext聽classnames聽to聽chain聽to聽the聽WebWorkVelocityContext
#聽webwork.velocity.contexts聽=

###聽used聽to聽build聽URLs,聽such聽as聽the聽UrlTag

webwork.url.http.port聽=80
webwork
.url.https.port聽=443

###聽Load聽custom聽default聽resource聽bundles
#聽webwork.custom.i18n.resources=testmessages,testmessages2

###聽workaround聽for聽some聽app聽servers聽that聽don't聽handle聽HttpServletRequest.getParameterMap()
###聽often聽used聽for聽WebLogic,聽Orion,聽and聽OC4J

webwork.dispatcher.parametersWorkaround聽=聽false

###聽configure聽the聽Freemarker聽Manager聽class聽to聽be聽used
###聽Allows聽user聽to聽plug-in聽customised聽Freemarker聽Manager聽if聽necessary
###聽MUST聽extends聽off聽com.opensymphony.webwork.views.freemarker.FreemarkerManager
#webwork.freemarker.manager.classname=com.opensymphony.webwork.views.freemarker.FreemarkerManager

###聽See聽the聽WebWorkBeanWrapper聽javadocs聽for聽more聽information

webwork.freemarker.wrapper.altMap=true

濂?澶ц嚦涓婂凡緇忔竻妤氫簡榪欎簺鏂囦歡鐨勫ぇ鑷崇敤閫?涓嬩竴姝?寮勬竻xwork鐨勯厤緗?

























oxl 2006-05-04 01:02 鍙戣〃璇勮
]]>
WebWork 2.2 瀛︿範絎旇(涓)http://www.tkk7.com/oxl/articles/44272.htmloxloxlMon, 01 May 2006 06:33:00 GMThttp://www.tkk7.com/oxl/articles/44272.htmlhttp://www.tkk7.com/oxl/comments/44272.htmlhttp://www.tkk7.com/oxl/articles/44272.html#Feedback0http://www.tkk7.com/oxl/comments/commentRss/44272.htmlhttp://www.tkk7.com/oxl/services/trackbacks/44272.html浠婂ぉ寮濮嬪涔燱ebWork錛屽懙鈥︹︾粨鍚堛奧ebWork鏁欑▼錛?.90鐗堛嬪拰Webwork瀹樻柟鐨勬暀紼嬫潵瀛︿範銆?br />
WebWork2.2鍜學ebWork2.1鍦ㄩ厤緗笂鏈変竴浜涘尯鍒紝鐜板湪鎶奧ebWork2.2鐨勪竴浜涢厤緗斁榪涙潵銆?br />
web.xml
<?xml聽version="1.0"聽encoding="UTF-8"?>
<web-app聽version="2.4"聽xmlns="http://java.sun.com/xml/ns/j2ee"聽xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"聽xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee聽
聽聽聽聽http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
>

聽聽聽聽
<filter>
聽聽聽聽聽聽聽聽
<filter-name>webwork</filter-name>
聽聽聽聽聽聽聽聽
<filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
聽聽聽聽
</filter>

聽聽聽聽
<filter-mapping>
聽聽聽聽聽聽聽聽
<filter-name>webwork</filter-name>
聽聽聽聽聽聽聽聽
<url-pattern>/*</url-pattern>
聽聽聽聽
</filter-mapping>

聽聽聽聽
<listener>
聽聽聽聽聽聽聽聽
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
聽聽聽聽
</listener>
</web-app>

xwork.xml
<?xml聽version="1.0"聽encoding="UTF-8"?>
<!DOCTYPE聽xwork聽PUBLIC聽"-//OpenSymphony聽Group//XWork聽1.1.1//EN"
"http://www.opensymphony.com/xwork/xwork-1.1.1.dtd"
>

<xwork>
聽聽聽聽
<!--聽Include聽webwork聽defaults聽(from聽WebWork聽JAR).聽-->
聽聽聽聽
<include聽file="webwork-default.xml"/>

聽聽聽聽
<!--聽Configuration聽for聽the聽default聽package.聽-->
聽聽聽
<package聽name="default"聽extends="webwork-default">
聽聽聽聽聽
<!--聽Include聽webwork聽defaults聽(from聽WebWork聽JAR).聽-->
聽聽聽聽聽
<default-interceptor-ref聽name="completeStack"/>

聽聽聽聽聽聽
<action聽name="helloWorld"
聽聽聽聽聽聽聽聽聽class
="org.javadream.webwork.ch01.HelloWorld">
聽聽聽聽聽聽聽聽聽
<result聽name="success">hello.jsp</result>
聽聽聽聽聽聽
</action>
聽聽聽
</package>

</xwork>


webwork.properties
webwork.locale=zh_CN
webwork.i18n.encoding
=GB2312

webwork.objectFactory
=spring

榪欓噷涓枃鏈夐棶棰橈紝蹇呴』瑕佸湪webwork.properties涓繘鍏ヨ緗?webwork.objectFactory=spring鏄敤spring浣滀負榛樿鐨処oC瀹瑰櫒銆?br />

緙栧啓涓涓狝ction:
package聽org.javadream.webwork.ch01;

import聽com.opensymphony.xwork.Action;

import聽java.text.DateFormat;
import聽java.util.*;

publicclass聽HelloWorld聽implements聽Action聽{
private聽String聽message;

public聽String聽execute()聽{
聽聽聽message聽
="Hello,聽WebWorld!,浣犲ソ,Web涓栫晫\n";
聽聽聽message聽
+="The聽time聽is:\n";
聽聽聽message聽
+=聽DateFormat.getDateInstance().format(new聽Date());;
聽聽聽
聽聽聽
//message聽=聽message.replaceAll("\n",聽"<br>");

聽聽聽
return聽SUCCESS;
聽}


public聽String聽getMessage()聽{
聽聽聽
return聽message;
聽}


}


緙栧啓涓涓鍥緅sp鏂囦歡:
<%@聽page聽language="java"聽contentType="text/html;聽charset=gb2312"聽pageEncoding="gb2312"%>
<%@聽taglib聽prefix="ww"聽uri="/webwork"%>
<html>
聽聽聽聽
<head>
聽聽聽聽聽聽聽聽
<title>Hello聽Page</title>
聽聽聽聽
</head>
聽聽聽聽
<body>
聽聽聽聽聽聽聽聽The聽message聽generated聽by聽my聽first聽action聽is:
聽聽聽聽聽聽聽聽
<br>
聽聽聽聽聽聽聽聽
<font聽color="red"><ww:property聽value="message"/></font>
聽聽聽聽
</body>
</html>

榪欓噷瑕佹敞鎰忥紝<%@ taglib prefix="ww" uri="/webwork"%>蹇呴』瑕佺敤uri="/webwork"錛屽洜涓鴻璁╀粬鍦╳ebwork.jar涓煡鎵緒ebwork.tld錛屽洜涓烘垜浠湪web.xml騫舵病鏈夊畾涔夎繖涓?webwork"榪欎釜uri銆?br />


oxl 2006-05-01 14:33 鍙戣〃璇勮
]]>
鍏充簬鏂囦歡涓婁紶鐨勯棶棰?鍒╃敤閫傞厤鍣ㄦā寮忕粺涓璋冪敤鎺ュ彛.http://www.tkk7.com/oxl/articles/43669.htmloxloxlThu, 27 Apr 2006 14:41:00 GMThttp://www.tkk7.com/oxl/articles/43669.htmlhttp://www.tkk7.com/oxl/comments/43669.htmlhttp://www.tkk7.com/oxl/articles/43669.html#Feedback0http://www.tkk7.com/oxl/comments/commentRss/43669.htmlhttp://www.tkk7.com/oxl/services/trackbacks/43669.html 鍏充簬鏂囦歡涓婁紶鐨勯棶棰?
Java Servlet娌℃湁浠庢牴鏈笂鏀寔緗戠粶鏂囦歡涓婁紶,榪欐槸涓涓瀬涓嶅ソ鐨勪篃鏋佷笉鐖界殑浜嬫儏.
浠庤屽氨寤剁敓浜哻ommonsUpload鍜宑os榪欎簺涓滀笢綾誨簱,鍛?....榪樼畻濂?涔熷ソ鐢?涓嶈繃娌′粩緇嗗幓鐮旂┒浠栦滑鐨勫疄鐜頒唬鐮?鐢ㄨ搗鏉ユ繪槸蹇冨ぇ蹇冨皬鐨?

涔熸鍥犱負榪欐牱澶氱殑絎笁鏂圭被搴?澶у鐨勬帴鍙i兘涓嶅悓,浠庤屼篃灝卞嚭鐜頒簡璁㏒ervice灞傛棤鎵閫備粠鐨勬劅瑙?鍥犱負涓嶈鏄粠Struts榪樻槸浠嶹ebWork鎴栬呬粠鏈綆鍗曠殑cos榪欎簺綾誨簱寰楀埌鐨勬帴鍙i兘鏄竴縐嶅叿浣撳疄鐜?娌℃湁緇熶竴鐨勬帴鍙?濡傛灉Service灞備笌鏌愪竴縐嶅叿浣撳疄鐜扮浉鍏寵仈,鍒欏繀鐒朵笌榪欑鍏蜂綋瀹炵幇鐨勬鏋舵垨鑰呯被搴撶‖緙栫爜緇戝畾,浠ュ悗灝變笉濂界敤鍏跺畠綾誨簱浜?榪欐槸涓嶅ソ鐨勮璁?鐪熺殑,涓鐐圭伒媧誨害閮芥病鏈?

鑳戒笉鑳借繖鏍峰憿?鍦⊿ervice瀹氫箟涓涓猆ploadFile鎺ュ彛,鎵鏈塖ervice灞傛帴鍙楃殑鍙槸UploadFile鐨勫疄鐜扮被鐨勫疄渚?浠庤岀粺涓浜嗘墍鏈塖ervice鐨勮皟鐢?鑰屼笖涔熶嬌Service鍙互鍦ㄥ悇縐峂VC鎴栬呯涓夋柟綾誨簱涓縼縐?

榪欓噷鐢ㄥ埌浜嗕竴涓璁℃ā寮?閫傞厤鍣ㄦā寮?

浠g爜濡備笅:

package org.springstudy.ch03;

import
java.io.InputStream;
import
java.io.File;

public interface
UploadFile聽{
聽聽聽聽
public byte
[]聽getBytes();
聽聽聽聽
public
String聽getContentType();
聽聽聽聽
public
InputStream聽getInputStream();
聽聽聽聽
public
String聽getName();
聽聽聽聽
public
String聽getOriginalFilename();
聽聽聽聽
publiclong
getSize();
聽聽聽聽
publicboolean
isEmpty();
聽聽聽聽
publicvoid
transferTo(File聽dest);
}



姣斿榪欓噷鏈変竴涓叿浣撳疄鐜?

package 聽org.springstudy.ch03.uploadimpl;

import
聽java.io.InputStream;
import
聽java.io.File;

import
聽org.springframework.web.multipart.MultipartFile;
import
聽org.springstudy.ch03.UploadFile;

publicclassUploadFileSpringImpl聽implements
聽UploadFile聽{
聽聽聽聽
private
MultipartFile聽multipartFile;
聽聽聽聽
聽聽聽聽
public
UploadFileSpringImpl(MultipartFile聽multipartFile)聽{
聽聽聽聽聽聽聽聽
this .multipartFile =
聽multipartFile;
聽聽聽聽}
聽聽聽聽
聽聽聽聽
publicbyte
[]聽getBytes()聽{
聽聽聽聽聽聽聽聽
returnthis
.multipartFile.getBytes();
聽聽聽聽}
聽聽聽聽
聽聽聽聽
public
String聽getContentType()聽{
聽聽聽聽聽聽聽聽
returnthis
.multipartFile.getContentType();
聽聽聽聽}
聽聽聽聽
聽聽聽聽
public
InputStream聽getInputStream()聽{
聽聽聽聽聽聽聽聽
returnthis
.multipartFile.getInputStream();
聽聽聽聽}
聽聽聽聽
聽聽聽聽
public
String聽getName()聽{
聽聽聽聽聽聽聽聽
returnthis
.multipartFile.getName();
聽聽聽聽}
聽聽聽聽
聽聽聽聽
public
String聽getOriginalFilename()聽{
聽聽聽聽聽聽聽聽
returnthis
.multipartFile.getOriginalFilename();
聽聽聽聽}
聽聽聽聽
聽聽聽聽
publiclong
getSize()聽{
聽聽聽聽聽聽聽聽
returnthis
.multipartFile.getSize();
聽聽聽聽}
聽聽聽聽
聽聽聽聽
publicboolean
isEmpty()聽{
聽聽聽聽聽聽聽聽
returnthis
.multipartFile.isEmpty();
聽聽聽聽}
聽聽聽聽
聽聽聽聽
publicvoid
transferTo(File聽dest)聽{
聽聽聽聽聽聽聽聽
this
.multipartFile.transferTo(dest);
聽聽聽聽}
}



浣犱篃鍙互鍐檆ommonsupload鎴栬卌os鐨勫疄鐜?Service鎺ュ彈鐨勫弬鏁版槸UploadFile鎺ュ彛鐨?鎵浠ヤ綘蹇呴』瀹炵幇UploadFile鎺ュ彛鎵嶈兘浣跨敤Service灞傜殑鍔熻兘.

(鍚庤瘽:鐪嬫潵瀛︿範璁捐妯″紡榪樻槸寰堟湁鐢ㄥ鐨?



oxl 2006-04-27 22:41 鍙戣〃璇勮
]]>
絎竴涓鍒掕鍋氱殑Java欏圭洰.<緗戜笂鐢靛瓙鍒嗙被淇℃伅>緋葷粺.http://www.tkk7.com/oxl/articles/40751.htmloxloxlWed, 12 Apr 2006 15:48:00 GMThttp://www.tkk7.com/oxl/articles/40751.htmlhttp://www.tkk7.com/oxl/comments/40751.htmlhttp://www.tkk7.com/oxl/articles/40751.html#Feedback1http://www.tkk7.com/oxl/comments/commentRss/40751.htmlhttp://www.tkk7.com/oxl/services/trackbacks/40751.html 鍦ㄩ摱娌欓噷鐜板湪灝辨槸璐熻矗榪欐柟闈㈢殑寮鍙?緇忚繃榪欐鏃墮棿鐨勫緋葷粺鐨勪簡瑙?鎴戞兂榪欐槸涓涓緢鏈夎叮鐨勯」鐩?浜庢槸灝辨兂鍒板啓涓涓搴旂殑Java鐨刉eb紼嬪簭.

褰撲篃瑕佹姏寮冮偅浜涘師鏉hp緋葷粺閲屼笉濂界殑璁捐鍜屾柟娉?

鏂扮殑Java瀹炵幇浼氱敤鍒頒粈涔堟妧鏈憿?

Spring + Hibernate + WW + Ajax

寮鍙戞椂闂?1騫?浠?006騫?鏈?0鍙峰紑濮?

娉ㄦ剰鐨勫湴鏂?
涓嶈鎬ョ潃鍐欎唬鐮?瑕佸厛鍋氬ソ闇姹傚垎鏋愬拰璁捐
娉ㄦ剰鎵╁睍鎬у拰瀵圭紪紼嬫ā寮忕殑鏇村ソ搴旂敤.

鎵撶畻寮婧愯欏圭洰.



oxl 2006-04-12 23:48 鍙戣〃璇勮
]]>
浠嶇劧鍦ㄦ濊冿細濡備綍鐞嗚В涓氬姟閫昏緫灞傘?/title><link>http://www.tkk7.com/oxl/articles/38743.html</link><dc:creator>oxl</dc:creator><author>oxl</author><pubDate>Sun, 02 Apr 2006 08:23:00 GMT</pubDate><guid>http://www.tkk7.com/oxl/articles/38743.html</guid><wfw:comment>http://www.tkk7.com/oxl/comments/38743.html</wfw:comment><comments>http://www.tkk7.com/oxl/articles/38743.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/oxl/comments/commentRss/38743.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/oxl/services/trackbacks/38743.html</trackback:ping><description><![CDATA[鎬繪槸娌℃硶瀛愬紕娓呮涓氬姟閫昏緫灞傚拰鎺у埗灞傜殑鍏崇郴錛屾帶鍒跺眰浠呬粎鍙槸鎺у埗嫻佸悧錛熼偅涔堜笟鍔¢昏緫灝辨病鏈夋帶鍒舵祦浜嗗悧錛?br /><br />鎴戠幇鍦ㄥ垎鏋愬緱鍑猴細<br />1銆佹帶鍒跺眰璋冪敤涓氬姟灞傚緱鍒拌鏄劇ず鐨勬暟鎹紝鐒跺悗鎶婃暟鎹繑鍥炵粰瑙嗗浘灞傘?br />2銆佷笟鍔″眰鍒欐槸鐢變笟鍔℃帴鍙e拰涓氬姟鎿嶄綔緇勬垚銆傛瘮濡傦細 <br /><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"><img id="Codehighlighter1_0_19_Open_Image" onclick="this.style.display='none'; Codehighlighter1_0_19_Open_Text.style.display='none'; Codehighlighter1_0_19_Closed_Image.style.display='inline'; Codehighlighter1_0_19_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_0_19_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_0_19_Closed_Text.style.display='none'; Codehighlighter1_0_19_Open_Image.style.display='inline'; Codehighlighter1_0_19_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /><span id="Codehighlighter1_0_19_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**聽*/</span><span id="Codehighlighter1_0_19_Open_Text"><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽*聽A聽Service<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />聽</span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /><img id="Codehighlighter1_47_167_Open_Image" onclick="this.style.display='none'; Codehighlighter1_47_167_Open_Text.style.display='none'; Codehighlighter1_47_167_Closed_Image.style.display='inline'; Codehighlighter1_47_167_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_47_167_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_47_167_Closed_Text.style.display='none'; Codehighlighter1_47_167_Open_Image.style.display='inline'; Codehighlighter1_47_167_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽UserService聽</span><span id="Codehighlighter1_47_167_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.tkk7.com/images/dot.gif" /></span><span id="Codehighlighter1_47_167_Open_Text"><span style="COLOR: #000000">{<br /><img id="Codehighlighter1_102_165_Open_Image" onclick="this.style.display='none'; Codehighlighter1_102_165_Open_Text.style.display='none'; Codehighlighter1_102_165_Closed_Image.style.display='inline'; Codehighlighter1_102_165_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_102_165_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_102_165_Closed_Text.style.display='none'; Codehighlighter1_102_165_Open_Image.style.display='inline'; Codehighlighter1_102_165_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽UserView聽login(String聽name,聽String聽password)聽</span><span id="Codehighlighter1_102_165_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.tkk7.com/images/dot.gif" /></span><span id="Codehighlighter1_102_165_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000"><img src="http://www.tkk7.com/images/dot.gif" /><img src="http://www.tkk7.com/images/dot.gif" />.<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000"><img src="http://www.tkk7.com/images/dot.gif" /><img src="http://www.tkk7.com/images/dot.gif" />.<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000"><img src="http://www.tkk7.com/images/dot.gif" /><img src="http://www.tkk7.com/images/dot.gif" />.<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000"><img src="http://www.tkk7.com/images/dot.gif" /><img src="http://www.tkk7.com/images/dot.gif" />.<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000"><img src="http://www.tkk7.com/images/dot.gif" /><img src="http://www.tkk7.com/images/dot.gif" />.</span><span style="COLOR: #008000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽}</span></span><span style="COLOR: #000000"><br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div><br /><br />涓氬姟鎿嶄綔鍒欐槸涓氬姟鎺ュ彛璋冪敤鐩稿叧鐨勬暟鎹寔涔呭眰鍜屼竴浜涘叾瀹冪浉鍏蟲搷浣滅粍鎴愩?br /><br />3銆佸疄浣擄細瀹炰綋灝辨槸涓涓璞★紝瀵硅薄鎷ユ湁鏁版嵁錛屽彲浠ユ妸瀵硅薄鏀懼埌Dao榪涜淇濆瓨錛屼篃鍙互閫氳繃Dao寰楀埌瀵硅薄錛岀劧鍚庡璞″鑷繁鐨勬暟鎹潵榪涜鎿嶄綔錛屾瘮濡傝鏀瑰彉闈欐侀〉闈紝淇濆瓨鍥劇墖鎴栧垹闄ゅ浘鐗囩瓑銆傚叾瀹炲疄浣撳氨鏄袱縐嶈鑹詫紝涓涓槸鎸佷箙瀵硅薄PO錛屼竴涓槸瀹炰綋瀵硅薄EO<img src ="http://www.tkk7.com/oxl/aggbug/38743.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/oxl/" target="_blank">oxl</a> 2006-04-02 16:23 <a href="http://www.tkk7.com/oxl/articles/38743.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://zengzeyu.com" target="_blank">日韩电影免费在线观看中文字幕</a>| <a href="http://xxxxyz.com" target="_blank">老湿机一区午夜精品免费福利</a>| <a href="http://clzqb2b.com" target="_blank">很黄很污的网站免费</a>| <a href="http://wlamyx.com" target="_blank">久久久久久亚洲精品不卡</a>| <a href="http://7788xxx.com" target="_blank">九九全国免费视频</a>| <a href="http://shbailongma.com" target="_blank">亚洲午夜国产片在线观看</a>| <a href="http://senimei9.com" target="_blank">一个人看的免费高清视频日本</a>| <a href="http://qdhengjun.com" target="_blank">免费在线黄色网址</a>| <a href="http://xbooktxt.com" target="_blank">国产成人自产拍免费视频</a>| <a href="http://dcqzr.com" target="_blank">国产亚洲?V无码?V男人的天堂</a>| <a href="http://dddd20.com" target="_blank">久久99精品免费一区二区</a>| <a href="http://slotvip24.com" target="_blank">国产V亚洲V天堂无码久久久 </a>| <a href="http://783944.com" target="_blank">亚洲AⅤ男人的天堂在线观看</a>| <a href="http://477077.com" target="_blank">我想看一级毛片免费的</a>| <a href="http://www-8812.com" target="_blank">老司机午夜在线视频免费</a>| <a href="http://bovch.com" target="_blank">亚洲免费在线观看</a>| <a href="http://xiaochidaquan.com" target="_blank">成全在线观看免费观看大全 </a>| <a href="http://txtmp3.com" target="_blank">91精品国产免费网站</a>| <a href="http://ac839.com" target="_blank">亚洲欧洲高清有无</a>| <a href="http://rp71.com" target="_blank">精品少妇人妻AV免费久久洗澡</a>| <a href="http://tskes.com" target="_blank">337P日本欧洲亚洲大胆艺术图</a>| <a href="http://426366.com" target="_blank">亚洲一本大道无码av天堂</a>| <a href="http://zhuanjiao521.com" target="_blank">免费无码又爽又刺激一高潮</a>| <a href="http://56v6.com" target="_blank">亚洲午夜久久影院</a>| <a href="http://xyzch.com" target="_blank">全免费a级毛片免费**视频</a>| <a href="http://gdbobo.com" target="_blank">无码人妻一区二区三区免费视频</a>| <a href="http://meixiudashi.com" target="_blank">亚洲日韩精品一区二区三区</a>| <a href="http://5g6z.com" target="_blank">114级毛片免费观看</a>| <a href="http://tzkanglong.com" target="_blank">日本亚洲中午字幕乱码 </a>| <a href="http://wwwbi757.com" target="_blank">曰批全过程免费视频在线观看</a>| <a href="http://ax445.com" target="_blank">亚洲av永久中文无码精品</a>| <a href="http://yy975.com" target="_blank">国产亚洲精品自在线观看</a>| <a href="http://kanzhelu23.com" target="_blank">3d成人免费动漫在线观看</a>| <a href="http://amgzh.com" target="_blank">亚洲精品色在线网站</a>| <a href="http://600c81.com" target="_blank">国产成人亚洲综合无码精品 </a>| <a href="http://820111com.com" target="_blank">免费观看无遮挡www的视频</a>| <a href="http://gachi1151.com" target="_blank">国产午夜亚洲精品国产</a>| <a href="http://zzo8.com" target="_blank">国产亚洲精品福利在线无卡一</a>| <a href="http://cdessc.com" target="_blank">3344免费播放观看视频</a>| <a href="http://avav2021.com" target="_blank">男女猛烈xx00免费视频试看</a>| <a href="http://guakao88.com" 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>