SkhfkDelete.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.skhfkAction;
- import org.apache.struts.action.*;
- import javax.servlet.http.*;
- import com.service.SkhfkFacade;
- import com.service.SkhfkFacadeImpl;
- import com.domain.SkhfkForm;
- //删除操作
- public class SkhfkDelete
- extends Action {
- private SkhfkFacade facade = null;
- public SkhfkDelete() {
- this.facade = new SkhfkFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest httpServletRequest,
- HttpServletResponse httpServletResponse) {
- /**@todo: complete the business logic here, this is just a skeleton.*/
- SkhfkForm skhfkForm = (SkhfkForm) actionForm;
- skhfkForm.setKhfk_id(httpServletRequest.getParameter("id"));
- this.facade.skhfkDelete(skhfkForm);
- return actionMapping.findForward("skhfkDelete");
- }
- }