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

企业管理

开发平台:

Java

  1. package com.webtier.clientKhmydAction;
  2. import org.apache.struts.action.*;
  3. import javax.servlet.http.*;
  4. import com.service.CkhmydFacade;
  5. import com.service.CkhmydFacadeImpl;
  6. //#--以数据库中的记录数,查找出多少记录计算,以便做帐号存贮--
  7. public class CkhmydCountID
  8.     extends Action {
  9.   private CkhmydFacade khmyd = null;
  10.   public CkhmydCountID() {
  11.     this.khmyd = new CkhmydFacadeImpl();
  12.   }
  13.   public ActionForward perform(ActionMapping actionMapping,
  14.                                ActionForm actionForm,
  15.                                HttpServletRequest httpServletRequest,
  16.                                HttpServletResponse httpServletResponse) {
  17.     String changeType = String.valueOf(this.khmyd.khmydCount());
  18.     httpServletRequest.setAttribute("changeType", changeType);
  19.     return actionMapping.findForward("ckhmydCountID");
  20.   }
  21. }