📄 usersloginform.java
字号:
/*<%--////////////////////////////////////////////////////GTON原创作品-Struts图书馆管理系统//////////////////////////////////////////////////////////////
////////////所用技术:jsp2.0+servlet2.4+jstl1.1+Struts1.2+sqlserver2000+tomcat5.5/////////////////////////////////////
/////////////////////////////////////////////////////专业制作网站 专业制作毕业设计////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////QQ:27612285//////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////Mail:punkwang@126.com////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////WEB:www.98202.com www.630cn.com//////////////////////////////////////////////////////
////////////////////////////////////////////////////qq群:20665503////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////求高薪工作一个有意者联系本人/////////////////////////////////////////////////////////
////////////////////////////////////////////////////Phone:010-81110277(王先生)///////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////--%>
<%--接 毕业设计业务 网站业务 商业网站 个人网站 商城系统 企业主页 JSP ASP.net PHP !!!
业务种类
网站业务: 商业网站 个人网站 商城系统 企业主页 等中小型网站(asp, jsp ,php ,asp.net)
毕业设计业务:java(j2ee j2se) vb delphi php .net等毕设业务
模块业务:各种中小型模块 java .net
如有需要 价格细谈 QQ:27612285
我的网站
HTTP://www.98202.com
HTTP://www.do3w.com
HTTP://www.201cn.com
HTTP://www.630cn.com--%>
*/package com.gton.formbean;
import org.apache.struts.action.*;
import javax.servlet.http.HttpServletRequest;
public class UsersLoginForm extends ActionForm {
private String users_Name;
private String users_Pwd;
public String getUsers_Name() {
return users_Name;
}
public void setUsers_Name(String users_Name) {
this.users_Name = users_Name;
}
public void setUsers_Pwd(String users_Pwd) {
this.users_Pwd = users_Pwd;
}
public String getUsers_Pwd() {
return users_Pwd;
}
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
/** @todo: finish this method, this is just the skeleton.*/
ActionErrors err = new ActionErrors();
if (this.getUsers_Name() == null ||this.getUsers_Name().length()<1) {
err.add("nameerr", new ActionMessage("err.user.login.namenullerr"));
}
if (this.getUsers_Pwd() == null||this.getUsers_Pwd().length()<1) {
err.add("pwderr", new ActionMessage("err.user.login.pwdnullerr"));
}
return err;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest servletRequest) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -