SkhfkDelete.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
源码类别:

企业管理

开发平台:

Java

  1. package com.webtier.skhfkAction;
  2. import org.apache.struts.action.*;
  3. import javax.servlet.http.*;
  4. import com.service.SkhfkFacade;
  5. import com.service.SkhfkFacadeImpl;
  6. import com.domain.SkhfkForm;
  7. //删除操作
  8. public class SkhfkDelete
  9.     extends Action {
  10.   private SkhfkFacade facade = null;
  11.   public SkhfkDelete() {
  12.     this.facade = new SkhfkFacadeImpl();
  13.   }
  14.   public ActionForward perform(ActionMapping actionMapping,
  15.                                ActionForm actionForm,
  16.                                HttpServletRequest httpServletRequest,
  17.                                HttpServletResponse httpServletResponse) {
  18.     /**@todo: complete the business logic here, this is just a skeleton.*/
  19.     SkhfkForm skhfkForm = (SkhfkForm) actionForm;
  20.     skhfkForm.setKhfk_id(httpServletRequest.getParameter("id"));
  21.     this.facade.skhfkDelete(skhfkForm);
  22.     return actionMapping.findForward("skhfkDelete");
  23.   }
  24. }