?? testaction.java
字號:
package com.dj.test.action;
import com.dj.test.service.TestService;
import com.opensymphony.xwork2.ActionSupport;
public class TestAction extends ActionSupport {
private TestService service;
private String name;
@Override
public String execute() throws Exception {
service.say();
System.out.println("THE name is " + name);
return SUCCESS;
}
//SET
public TestService getService() {
return service;
}
//GET
public void setService(TestService service) {
this.service = service;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -