struts2接受參數的方式

第一種 這種方法強力推薦:使用ModelDriver接口 注意表單名字必須與model的User的名字同樣 屬於模型驅動php public class UserAction extends ActionSupport implements ModelDriven<User>{ private User user=new User();//使用接口必須new一下 @Overr
相關文章
相關標籤/搜索