QueryClientContent.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.queryInformation;
- import org.apache.struts.action.*;
- import javax.servlet.http.*;
- import com.domain.KhxxForm;
- import com.service.KhxxFacadeImpl;
- import com.service.KhxxFacade;
- //查询内容
- public class QueryClientContent
- extends Action {
- private KhxxFacade facade = null;
- public QueryClientContent() {
- 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("khxxform", form);
- return actionMapping.findForward("queryClientContent");
- }
- }