?? chooseaction.java
字號:
package com.student.action;import org.apache.struts.action.*;import javax.servlet.http.*;import com.student.actionform.ChooseActionForm;import com.student.logic.ChooseLogic;import com.student.vo.BaseInfo;public class ChooseAction extends Action { public ActionForward perform(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) { /**@todo: complete the business logic here, this is just a skeleton.*/ System.out.println("11111111111111111111111111111111"); ChooseActionForm form = (ChooseActionForm) actionForm; ChooseLogic logic = new ChooseLogic(form); if(form.getOperation().equals("save")) { System.out.println("======333333333333333333333333===========" + form.getStudentUID()); logic.saveSelected(form.getStudentUID()); form.setOperation("display"); } logic.getSelected(form.getStudentUID()); logic.closeDAO(); return actionMapping.findForward("choose"); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -