📄 ckhmydselectone.java
字号:
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"); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -