📄 registeraction.java
字号:
/*
* Created on 2005-8-9
*
*/
package com.skyon.demo.validator;
import com.opensymphony.xwork.ActionSupport;
/**
* @author moxie
* E-mail:qac@skyon.com.cn
*/
public class RegisterAction extends ActionSupport{
private User user = new User();
/* (non-Javadoc)
* @see com.opensymphony.xwork.Action#execute()
*/
public String execute() throws Exception {
return SUCCESS;
}
public String doDefault() throws Exception{
return INPUT;
}
/**
* @return Returns the user.
*/
public User getUser() {
return user;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -