📄 skhfkforward.java
字号:
package com.webtier.skhfkAction;
import org.apache.struts.action.*;
import javax.servlet.http.*;
import com.service.KhxxFacade;
import com.service.KhxxFacadeImpl;
import com.service.CkhmydFacade;
import com.service.CkhmydFacadeImpl;
import com.service.SkhfkFacade;
import com.service.SkhfkFacadeImpl;
//通过次方法是需要的信息在下一个jsp页面中显示出来
public class SkhfkForward
extends Action {
private KhxxFacade khxx = null;
private CkhmydFacade ckhmyd=null;
private SkhfkFacade skhfk=null;
public SkhfkForward() {
khxx = new KhxxFacadeImpl();
ckhmyd=new CkhmydFacadeImpl();
skhfk=new SkhfkFacadeImpl();
}
public ActionForward perform(ActionMapping actionMapping,
ActionForm actionForm,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse) {
httpServletRequest.setAttribute("khxxForm",this.khxx.khxxSelect());
httpServletRequest.setAttribute("ckhmydForm",this.ckhmyd.khmydSelect());
String changeType = String.valueOf(this.skhfk.skhfkCount());
httpServletRequest.setAttribute("changeType", changeType);
return actionMapping.findForward("skhfkForward");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -