CkhmydDelete.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.clientKhmydAction;
- import org.apache.struts.action.*;
- import javax.servlet.http.*;
- import com.domain.CkhmydForm;
- import com.service.CkhmydFacade;
- import com.service.CkhmydFacadeImpl;
- //删除操作
- public class CkhmydDelete
- extends Action {
- private CkhmydFacade khmyd = null;
- public CkhmydDelete() {
- this.khmyd = new CkhmydFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest httpServletRequest,
- HttpServletResponse httpServletResponse) {
- CkhmydForm ckhmydForm = (CkhmydForm) actionForm;
- ckhmydForm.setKhmyd_id(httpServletRequest.getParameter("id"));
- this.khmyd.khmydDelete(ckhmydForm);
- return actionMapping.findForward("ckhmydDelete");
- }
- }