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

企业管理

开发平台:

Java

  1. package com.webtier.clientQyxxAction;
  2. import org.apache.struts.action.*;
  3. import javax.servlet.http.*;
  4. import com.domain.CqyxxForm;
  5. import com.service.CqyxxFacade;
  6. import com.service.CqyxxFacadeImpl;
  7. import java.io.UnsupportedEncodingException;
  8. //以数据库流水号查询的数量进行调用,利用到给区域编号中去,进行区域编号
  9. public class CqyxxCountID
  10.     extends Action {
  11.   private CqyxxFacade qyxxFacade = null;
  12.   public CqyxxCountID() {
  13.     this.qyxxFacade = new CqyxxFacadeImpl();
  14.   }
  15.   public ActionForward perform(ActionMapping actionMapping,
  16.                                ActionForm actionForm,
  17.                                HttpServletRequest httpServletRequest,
  18.                                HttpServletResponse httpServletResponse) throws
  19.       UnsupportedEncodingException {
  20.     httpServletRequest.setCharacterEncoding("gb2312");
  21.     CqyxxForm cqyxxForm = (CqyxxForm) actionForm;
  22.     String changeType=String.valueOf(this.qyxxFacade.qyxxCount());
  23.     httpServletRequest.setAttribute("changeType",changeType);
  24.     return actionMapping.findForward("cqyxxCountID");
  25.   }
  26. }