[struts] modeldriven 을 이용한 model 사용
Actionpublic class testAction extends ActionSupport implements Preparable, ModelDriven{private MyPage mypage= new MyPage (); public MyPage getLMyPage () {return mypage;} @Overridepublic Object getModel() {// TODO Auto-generated method stubreturn mypage;}@Overridepublic void prepare() throws Exception {mypage = new MyPage ();} /** * 학습자 정보 수정 */public void update() throws Exception {System.out.pr..
2015. 12. 10. 11:41