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

企业管理

开发平台:

Java

  1. package com.webtier.clientlxrxxAction;
  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 org.apache.struts.action.Action;
  8. import com.service.LxrxxFacade;
  9. import com.service.LxrxxFacadeImpl;
  10. //信息人信息的全部查询
  11. public class LxrxxSelect
  12.     extends Action {
  13.   private LxrxxFacade facade = null;
  14.   public LxrxxSelect() {
  15.     this.facade = new LxrxxFacadeImpl();
  16.   }
  17.   public ActionForward perform(ActionMapping actionMapping,
  18.                                ActionForm actionForm,
  19.                                HttpServletRequest servletRequest,
  20.                                HttpServletResponse servletResponse) {
  21.     servletRequest.setAttribute("list", this.facade.select());
  22.     if (servletRequest.getParameter("method") == null) {
  23.       return actionMapping.findForward("lxrxxSelect");
  24.     }
  25.     else {
  26.      return actionMapping.findForward("lxrxxSelectEmail");
  27.         }
  28.   }}