📄 grtxl_viewaction.java
字号:
package com.wondersgroup.txl.web.Action;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.wondersgroup.txl.service.GrTxlService;
public class GrTxl_ViewAction extends Action {
private GrTxlService grTxlService;
public void setGrTxlService(GrTxlService grTxlService) {
this.grTxlService = grTxlService;
}
public ActionForward execute(ActionMapping actionMapping,
ActionForm actionForm, HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse) {
String id = httpServletRequest.getParameter("id");
List list = grTxlService.getContractGRInfo(id);
httpServletRequest.setAttribute("Grview", list);
return actionMapping.findForward("view");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -