CqyxxCountID.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.clientQyxxAction;
- import org.apache.struts.action.*;
- import javax.servlet.http.*;
- import com.domain.CqyxxForm;
- import com.service.CqyxxFacade;
- import com.service.CqyxxFacadeImpl;
- import java.io.UnsupportedEncodingException;
- //以数据库流水号查询的数量进行调用,利用到给区域编号中去,进行区域编号
- public class CqyxxCountID
- extends Action {
- private CqyxxFacade qyxxFacade = null;
- public CqyxxCountID() {
- this.qyxxFacade = new CqyxxFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest httpServletRequest,
- HttpServletResponse httpServletResponse) throws
- UnsupportedEncodingException {
- httpServletRequest.setCharacterEncoding("gb2312");
- CqyxxForm cqyxxForm = (CqyxxForm) actionForm;
- String changeType=String.valueOf(this.qyxxFacade.qyxxCount());
- httpServletRequest.setAttribute("changeType",changeType);
- return actionMapping.findForward("cqyxxCountID");
- }
- }