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

企业管理

开发平台:

Java

  1. package com.webtier.queryInformation;
  2. import org.apache.struts.action.ActionMapping;
  3. import org.apache.struts.action.ActionForm;
  4. import javax.servlet.http.HttpServletRequest;
  5. import javax.servlet.http.HttpServletResponse;
  6. import org.apache.struts.action.ActionForward;
  7. import com.domain.SkhfkForm;
  8. import org.apache.struts.action.Action;
  9. import com.service.SkhfkFacade;
  10. import com.service.SkhfkFacadeImpl;
  11. //查看反馈详细内容
  12. public class QuerySkhfkContenet
  13.     extends Action {
  14.   private SkhfkFacade facade = null;
  15.  public QuerySkhfkContenet() {
  16.    this.facade = new SkhfkFacadeImpl();
  17.  }
  18.  public ActionForward perform(ActionMapping actionMapping,
  19.                               ActionForm actionForm,
  20.                               HttpServletRequest httpServletRequest,
  21.                               HttpServletResponse httpServletResponse) {
  22.    /**@todo: complete the business logic here, this is just a skeleton.*/
  23.    SkhfkForm skhfkForm = (SkhfkForm) actionForm;
  24.    skhfkForm.setKhfk_id(httpServletRequest.getParameter("id"));
  25.    httpServletRequest.setAttribute("form",
  26.                                    this.facade.skhfkSelectOne(skhfkForm));
  27.     return actionMapping.findForward("querySkhfkContenet");
  28.   }
  29. }