PrinfCxss.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.CsxxForm;
- import org.apache.struts.action.Action;
- import com.service.SfzyFacade;
- import com.service.SfzyFacadeImpl;
- import com.tool.Chinese;
- public class PrinfCxss
- extends Action {
- private SfzyFacade facade;
- public PrinfCxss() {
- this.facade = new SfzyFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest httpServletRequest,
- HttpServletResponse httpServletResponse) {
- CsxxForm csxxForm = (CsxxForm) actionForm;
- csxxForm.setCsxx_sfmc(Chinese.str(httpServletRequest.getParameter("province")));
- httpServletRequest.setAttribute("form", this.facade.csxxPrinfSelect(csxxForm));
- return actionMapping.findForward("prinfCxss");
- }
- }