📄 registeraction2.java.svn-base
字号:
package com.test.actions;
import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
import com.test.bean.UserInfo;
/**
*
* @author DELL
* Struts2.0 模型驱动
*
*/
public class RegisterAction2 extends ActionSupport implements ModelDriven<UserInfo> {
private UserInfo userinfo = new UserInfo();
public UserInfo getModel() {
// TODO Auto-generated method stub
return userinfo;
}
@Override
public String execute() throws Exception {
return Action.SUCCESS;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -