QueryKhtsMyd.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 org.apache.struts.action.Action;
  8. import com.service.CkhmydFacade;
  9. import com.service.CkhmydFacadeImpl;
  10. public class QueryKhtsMyd
  11.     extends Action {
  12.   private CkhmydFacade khmyd = null;
  13. public QueryKhtsMyd() {
  14.   this.khmyd = new CkhmydFacadeImpl();
  15. }
  16.   public ActionForward perform(ActionMapping actionMapping,
  17.                                ActionForm actionForm,
  18.                                HttpServletRequest servletRequest,
  19.                                HttpServletResponse servletResponse) {
  20.      servletRequest.setAttribute("khmydlist", this.khmyd.khmydSelect());
  21.      if(servletRequest.getParameter("method")==null){
  22.        return actionMapping.findForward("queryKhtsMyd");
  23.      }else{
  24.          return actionMapping.findForward("queryKhtsUpdate");
  25.      }
  26.   }
  27. }