khxxselectcontent.java~4~
来自「客户关系管理系统,包括数据库,类,所有运行所需的代码及文件」· JAVA~4~ 代码 · 共 30 行
JAVA~4~
30 行
package com.webtier.khxxAction;
import org.apache.struts.action.*;
import javax.servlet.http.*;
import com.service.KhxxFacade;
import com.service.KhxxFacadeImpl;
import com.domain.KhxxForm;
//以客户编号查询客户全部信息
public class KhxxSelectContent
extends Action {
private KhxxFacade facade = null;
public KhxxSelectContent() {
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"));
System.out.println("id="+httpServletRequest.getParameter("id"));
KhxxForm form = this.facade.khxxSelect(khxxForm);
System.out.println("form="+form);
httpServletRequest.setAttribute("khxxform", form);
return actionMapping.findForward("khxxSelectContent");
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?