⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 prinfkhxxaction.java

📁 客户管理系统是一个典型的数据库开发应用程序
💻 JAVA
字号:
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.KhxxForm;
import org.apache.struts.action.Action;
import com.service.KhxxFacade;
import com.service.KhxxFacadeImpl;

public class PrinfKhxxAction
    extends Action {
  private KhxxFacade facade = null;
    public PrinfKhxxAction() {
      this.facade = new KhxxFacadeImpl();
    }

    public ActionForward perform(ActionMapping actionMapping,
                                 ActionForm actionForm,
                                 HttpServletRequest httpServletRequest,
                                 HttpServletResponse httpServletResponse) {

      KhxxForm khxxForm = (KhxxForm) actionForm;
      khxxForm.setKhxx_id(httpServletRequest.getParameter("id"));
      KhxxForm form = this.facade.khxxSelectOne(khxxForm);
    httpServletRequest.setAttribute("form", form);
    return actionMapping.findForward("prinfKhxxAction");
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -