CkhmydSelectOne.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.clientKhmydAction;
- import org.apache.struts.action.*;
- import javax.servlet.http.*;
- import com.service.CkhmydFacade;
- import com.service.CkhmydFacadeImpl;
- import com.domain.CkhmydForm;
- //单独查询
- public class CkhmydSelectOne extends Action {
- private CkhmydFacade khmyd = null;
- public CkhmydSelectOne() {
- this.khmyd = new CkhmydFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) {
- /**@todo: complete the business logic here, this is just a skeleton.*/
- CkhmydForm ckhmydForm = (CkhmydForm) actionForm;
- ckhmydForm.setKhmyd_id(httpServletRequest.getParameter("id"));
- httpServletRequest.setAttribute("form",this.khmyd.khmydSelectOne(ckhmydForm));
- return actionMapping.findForward("ckhmydSelectOne");
- }
- }