CqylxDelete.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.clientQylxAction;
- import org.apache.struts.action.*;
- import javax.servlet.http.*;
- import com.service.CqylxFacade;
- import com.service.CqylxFacadeImpl;
- import com.domain.CqylxForm;
- import com.tool.Chinese;
- //删除的操作
- public class CqylxDelete
- extends Action {
- private CqylxFacade qylx = null;
- public CqylxDelete() {
- this.qylx = new CqylxFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest httpServletRequest,
- HttpServletResponse httpServletResponse) {
- Chinese chinese = new Chinese();
- CqylxForm cqylxForm = (CqylxForm) actionForm;
- cqylxForm.setQylx_id(chinese.str(httpServletRequest.getParameter("id")));
- this.qylx.qylxDelete(cqylxForm);
- return actionMapping.findForward("cqylxDelete");
- }
- }