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

企业管理

开发平台:

Java

  1. package com.webtier.khxxAction;
  2. import org.apache.struts.action.*;
  3. import javax.servlet.http.*;
  4. import com.service.KhxxFacade;
  5. import com.service.KhxxFacadeImpl;
  6. import com.domain.KhxxForm;
  7. //以客户编号查询客户全部信息
  8. public class KhxxSelectContent
  9.     extends Action {
  10.   private KhxxFacade facade = null;
  11.   public KhxxSelectContent() {
  12.     this.facade = new KhxxFacadeImpl();
  13.   }
  14.   public ActionForward perform(ActionMapping actionMapping,
  15.                                ActionForm actionForm,
  16.                                HttpServletRequest httpServletRequest,
  17.                                HttpServletResponse httpServletResponse) {
  18.     KhxxForm khxxForm = (KhxxForm) actionForm;
  19.     khxxForm.setKhxx_id(httpServletRequest.getParameter("id"));
  20.     KhxxForm form = this.facade.khxxSelectOne(khxxForm);
  21.     httpServletRequest.setAttribute("khxxform", form);
  22.     return actionMapping.findForward("khxxSelectContent");
  23.   }
  24. }