UserGzbwCount.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.queryInformation;
- import org.apache.struts.action.ActionMapping;
- import org.apache.struts.action.ActionForm;
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
- import org.apache.struts.action.ActionForward;
- import com.domain.UserGzbwForm;
- import org.apache.struts.action.Action;
- import com.service.UserGzbwFacade;
- import com.service.UserGzbwFacadeImpl;
- //唯一性
- public class UserGzbwCount
- extends Action {
- private UserGzbwFacade facade = null;
- public UserGzbwCount() {
- facade = new UserGzbwFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest servletRequest,
- HttpServletResponse servletResponse) {
- UserGzbwForm userGzbwForm = (UserGzbwForm) actionForm;
- servletRequest.setAttribute("countID", String.valueOf(this.facade.countID()));
- return actionMapping.findForward("userGzbwCount");
- }
- }