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

企业管理

开发平台:

Java

  1. package com.webtier.queryInformation;
  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. public class PrinfSelect extends Action {
  8.   private KhxxFacade facade = null;
  9. public PrinfSelect() {
  10.   this.facade = new KhxxFacadeImpl();
  11. }
  12.   public ActionForward perform(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) {
  13.     /**@todo: complete the business logic here, this is just a skeleton.*/
  14.     KhxxForm khxxForm = (KhxxForm) actionForm;
  15.     khxxForm.setKhxx_id(httpServletRequest.getParameter("id"));
  16.     httpServletRequest.setAttribute("form",this.facade.khxxSelectOne(khxxForm));
  17.     return actionMapping.findForward("prinfSelect");
  18.   }
  19. }