CqyzxCountID.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.clientQyzxAction;
- import org.apache.struts.action.*;
- import javax.servlet.http.*;
- import com.service.CqyzxFacade;
- import com.service.CqyzxFacadeImpl;
- //以数据库中的记录数,查找出多少记录计算,以便做帐号存贮
- public class CqyzxCountID
- extends Action {
- private CqyzxFacade qyzxFacade = null;
- public CqyzxCountID() {
- this.qyzxFacade = new CqyzxFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest httpServletRequest,
- HttpServletResponse httpServletResponse) {
- String changeType = String.valueOf(this.qyzxFacade.qyzxCount());
- httpServletRequest.setAttribute("changeType", changeType);
- return actionMapping.findForward("cqyzxCountID");
- }
- }