CqylxSelectOne.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.clientQylxAction;
- import org.apache.struts.action.*;
- import javax.servlet.http.*;
- import com.service.CqylxFacade;
- import com.service.CqylxFacadeImpl;
- import com.domain.CqylxForm;
- //单独查询
- public class CqylxSelectOne
- extends Action {
- private CqylxFacade qylx = null;
- public CqylxSelectOne() {
- this.qylx = new CqylxFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest httpServletRequest,
- HttpServletResponse httpServletResponse) {
- CqylxForm cqylxForm = (CqylxForm) actionForm;
- cqylxForm.setQylx_id(httpServletRequest.getParameter("id"));
- CqylxForm form = this.qylx.qylxSelectOne(cqylxForm);
- httpServletRequest.setAttribute("form", form);
- return actionMapping.findForward("cqylxSelectOne");
- }
- }