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

企业管理

开发平台:

Java

  1. package com.webtier.queryInformation;
  2. import org.apache.struts.action.*;
  3. import javax.servlet.http.*;
  4. import com.service.SfzyFacade;
  5. import com.service.SfzyFacadeImpl;
  6. import com.domain.FfzyForm;
  7. public class QuerySfzySelectOne
  8.     extends Action {
  9.   private SfzyFacade facade;
  10.   public QuerySfzySelectOne() {
  11.     this.facade = new SfzyFacadeImpl();
  12.   }
  13.   public ActionForward perform(ActionMapping actionMapping,
  14.                                ActionForm actionForm,
  15.                                HttpServletRequest httpServletRequest,
  16.                                HttpServletResponse httpServletResponse) {
  17.     /**@todo: complete the business logic here, this is just a skeleton.*/
  18.     FfzyForm ffzyForm = (FfzyForm) actionForm;
  19.     ffzyForm.setSfzy_id(httpServletRequest.getParameter("id"));
  20.     httpServletRequest.setAttribute("form", this.facade.sfzySelect(ffzyForm));
  21.     return actionMapping.findForward("querySfzySelectOne");
  22.   }
  23. }