PrinfSelect.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.queryInformation;
- import org.apache.struts.action.*;
- import javax.servlet.http.*;
- import com.service.KhxxFacade;
- import com.service.KhxxFacadeImpl;
- import com.domain.KhxxForm;
- public class PrinfSelect extends Action {
- private KhxxFacade facade = null;
- public PrinfSelect() {
- this.facade = new KhxxFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) {
- /**@todo: complete the business logic here, this is just a skeleton.*/
- KhxxForm khxxForm = (KhxxForm) actionForm;
- khxxForm.setKhxx_id(httpServletRequest.getParameter("id"));
- httpServletRequest.setAttribute("form",this.facade.khxxSelectOne(khxxForm));
- return actionMapping.findForward("prinfSelect");
- }
- }