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

企业管理

开发平台:

Java

  1. package com.webtier.queryInformation;
  2. import org.apache.struts.action.ActionMapping;
  3. import org.apache.struts.action.ActionForm;
  4. import javax.servlet.http.HttpServletRequest;
  5. import javax.servlet.http.HttpServletResponse;
  6. import org.apache.struts.action.ActionForward;
  7. import com.domain.LxrxxForm;
  8. import org.apache.struts.action.Action;
  9. import com.service.LxrxxFacade;
  10. import com.service.LxrxxFacadeImpl;
  11. import java.util.List;
  12. //打印联系人信息
  13. public class PrinfLxrxxSelectContent
  14.     extends Action {
  15.   private LxrxxFacade facade = null;
  16.   public PrinfLxrxxSelectContent() {
  17.     this.facade = new LxrxxFacadeImpl();
  18.   }
  19.   public ActionForward perform(ActionMapping actionMapping,
  20.                                ActionForm actionForm,
  21.                                HttpServletRequest servletRequest,
  22.                                HttpServletResponse servletResponse) {
  23.     LxrxxForm lxrxxForm = (LxrxxForm) actionForm;
  24.     lxrxxForm.setId(Integer.valueOf(servletRequest.getParameter("id")));
  25.     List list = this.facade.selectOne(lxrxxForm);
  26.     servletRequest.setAttribute("list", list);
  27.     return actionMapping.findForward("prinfLxrxxSelectContent");
  28.   }
  29. }