package cn.itcast.action;
import cn.itcast.model.Person;
import cn.itcast.service.PersonService;
import com.opensymphony.xwork2.ActionSupport;
public class PersonAction extends ActionSupport {
PersonService personService;
Person person;
public PersonService getPersonService() {
return personService;
}
public void setPersonService(PersonService personService) {
this.personService = personService;
}
public Person getPerson() {
return person;
}
public void setPerson(Person person) {
this.person = person;
}
@Override
public String execute() throws Exception {
personService.save(person);
return SUCCESS;
}
}
最近下载更多
educationAAA LV11
2024年5月25日
hosinvm LV7
2022年11月18日
653665054 LV3
2022年7月27日
ming_123_9715 LV23
2022年7月17日
wei_471416461 LV1
2022年6月25日
show123 LV2
2022年6月17日
hanglin_漢林 LV2
2022年6月7日
dasen2022 LV6
2022年4月27日
liyunyong LV1
2022年3月17日
二十一画 LV10
2022年3月1日

最近浏览