loginform.java
来自「给予struts_MVC网上购书系统,实现购物车,结帐功能」· Java 代码 · 共 62 行
JAVA
62 行
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.yourcompany.struts.form;
import org.apache.struts.action.ActionForm;
/**
* MyEclipse Struts
* Creation date: 04-15-2008
*
* XDoclet definition:
* @struts.form name="loginForm"
*/
public class LoginForm extends ActionForm {
/*
* Generated fields
*/
/** username property */
private String username;
/** userpass property */
private String userpass;
/*
* Generated Methods
*/
/**
* Returns the username.
* @return String
*/
public String getUsername() {
return username;
}
/**
* Set the username.
* @param username The username to set
*/
public void setUsername(String username) {
this.username = username;
}
/**
* Returns the userpass.
* @return String
*/
public String getUserpass() {
return userpass;
}
/**
* Set the userpass.
* @param userpass The userpass to set
*/
public void setUserpass(String userpass) {
this.userpass = userpass;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?