⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user.java

📁 JSF的入门,主要是讲的JSF的标签运用
💻 JAVA
字号:
package org.jsfeimhe.web.bean;

import java.util.Locale;

public class User {
    private String userName;
    private String password;
    private int math=85;
    private int chinese=85;
    private Locale locale=new Locale("en");
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String verifyUser(){
		System.out.println("User::verifyUser is called");
		if(this.userName.equals("zhengjingyu")){
			return "success";
		}else{
			return "failure";
		}
	}

	public int getChinese() {
		return chinese;
	}

	public void setChinese(int chinese) {
		this.chinese = chinese;
	}

	public int getMath() {
		return math;
	}

	public void setMath(int math) {
		this.math = math;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Locale getLocale() {
		return locale;
	}

	public void setLocale(Locale locale) {
		this.locale = locale;
	}
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -