📄 prinfsfzyselect.java
字号:
package com.webtier.queryInformation;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.Action;
import com.service.SfzyFacade;
import com.service.SfzyFacadeImpl;
import java.io.UnsupportedEncodingException;
public class PrinfSfzySelect
extends Action {
private SfzyFacade facade;
public PrinfSfzySelect() {
this.facade = new SfzyFacadeImpl();
}
public ActionForward perform(ActionMapping actionMapping,
ActionForm actionForm,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse) throws
UnsupportedEncodingException {
httpServletRequest.setCharacterEncoding("gb2312");
Integer iCount = Integer.valueOf("1");
httpServletRequest.setAttribute("iCount", String.valueOf(iCount));
httpServletRequest.setAttribute("total", String.valueOf(this.facade.toatl()));
httpServletRequest.setAttribute("sfzylist", this.facade.sfzySelect());
return actionMapping.findForward("prinfSfzySelect");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -