91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 29.72MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-06-14
  • 語言: 其他
  • 標簽: struts2??spring??hibernate??

資源簡介

struts2 spring hibernate框架技術與項目實戰(zhàn) 光盤源碼 中 資源150M必須分成3部分上中下

資源截圖

代碼片段和文件信息

package?action;

import?java.util.regex.Matcher;
import?java.util.regex.Pattern;

import?com.opensymphony.xwork2.ActionSupport;

public?class?YanZhengAction?extends?ActionSupport?{

private?static?final?long?serialVersionUID?=?1L;

private?String?user?;
private?String?sex;
private?String?pass;
public?String?getUser()?{
return?user;
}
public?void?setUser(String?user)?{
this.user?=?user;
}
public?String?getSex()?{
return?sex;
}
public?void?setSex(String?sex)?{
this.sex?=?sex;
}
public?String?getPass()?{
return?pass;
}
public?void?setPass(String?pass)?{
this.pass?=?pass;
}
@Override
public?String?execute()?throws?Exception?{
//?TODO?Auto-generated?method?stub
return?super.execute();
}
@Override
public?void?validate()?{
if?(getUser()?==?null?||?““.equals(getUser().trim()))?{
this.addFieldError(“user“?“用戶名不能為空!“);
}?else?{
Pattern?p?=?Pattern.compile(“\\w{620}“);
Matcher?m?=?p.matcher(getUser().trim());
if?(!m.matches())?{
this.addFieldError(“user“?“用戶名由下劃線、字母、數(shù)字構成,長度為6-20“);
}?
}
if(getSex()?==?null?||?““.equals(getSex().trim())){
this.addFieldError(“sex“?“性別不能為空!“);
}else?if(getSex()?!=?“男“?||?getSex()?!=?“女“){

this.addFieldError(“sex“?“性別只能是男和女!“);
}

if?(getPass()?==?null?||?““.equals(getPass().trim()))?{
this.addFieldError(“pass“?“密碼不能為空!“);
}?else?{
int?s?=?getPass().trim().length();
if?(s<6?||?s>30)?{
this.addFieldError(“pass“?“密碼長度為應該在6-30之間!“);
}?
}
}


}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1470??2012-02-14?01:34??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)readme.txt

?????文件????????463??2011-07-11?22:47??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\.classpath

?????文件????????315??2011-07-22?00:28??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\.mymetadata

?????文件????????240??2011-07-11?22:47??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\.mystrutsdata

?????文件???????1503??2011-07-11?22:48??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\.project

?????文件????????500??2011-07-11?22:46??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\.settings\.jsdtscope

?????文件????????330??2011-07-11?22:46??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\.settings\org.eclipse.jdt.core.prefs

?????文件?????????49??2011-07-11?22:46??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\.settings\org.eclipse.wst.jsdt.ui.superType.container

?????文件??????????6??2011-07-11?22:46??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\.settings\org.eclipse.wst.jsdt.ui.superType.name

?????文件???????1623??2011-07-12?06:38??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\src\action\YanZhengAction.java

?????文件????????442??2011-07-11?23:27??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\src\struts.xml

?????文件????????645??2011-07-12?06:48??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\WebRoot\index.jsp

?????文件?????????36??2011-07-11?22:46??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\WebRoot\meta-INF\MANIFEST.MF

?????文件????????257??2011-07-11?23:39??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\WebRoot\success.jsp

?????文件???????2230??2011-07-29?05:09??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\WebRoot\WEB-INF\classes\action\YanZhengAction.class

?????文件????????442??2011-07-11?23:27??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\WebRoot\WEB-INF\classes\struts.xml

?????文件????????753??2011-07-11?23:10??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\actionyanzheng\WebRoot\WEB-INF\web.xml

?????文件????????463??2011-07-14?07:55??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\.classpath

?????文件????????315??2011-07-22?00:28??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\.mymetadata

?????文件????????240??2011-07-14?07:55??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\.mystrutsdata

?????文件???????1503??2011-07-14?07:56??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\.project

?????文件????????500??2011-07-14?07:55??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\.settings\.jsdtscope

?????文件????????330??2011-07-14?07:55??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\.settings\org.eclipse.jdt.core.prefs

?????文件?????????49??2011-07-14?07:55??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\.settings\org.eclipse.wst.jsdt.ui.superType.container

?????文件??????????6??2011-07-14?07:55??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\.settings\org.eclipse.wst.jsdt.ui.superType.name

?????文件????????572??2011-07-14?09:02??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\src\action\ClientYanZheng-validation.xml

?????文件????????453??2011-07-14?08:19??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\src\action\ClientYanZheng.java

?????文件????????114??2011-07-14?01:56??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\src\errormessages.properties

?????文件????????524??2011-07-14?08:19??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\src\struts.xml

?????文件????????506??2011-07-14?08:59??struts2?spring?hibernate框架技術與項目實戰(zhàn)?光盤源碼中\(zhòng)第3篇\第10章\clientyanzheng\WebRoot\index.jsp

............此處省略895個文件信息

評論

共有 條評論