loadbeststorelist.java
来自「一个完整的网络订餐系统」· Java 代码 · 共 28 行
JAVA
28 行
package com.league.action;
import org.apache.struts.action.ActionForward;
import com.common.struts.*;
import com.league.dao.LeagueDao;
public class LoadBestStoreList extends AbstractAction
{
public LoadBestStoreList()
{
}
public ActionForward execute(ActionContext actionContext) throws java.lang.Exception
{
String areaID = actionContext.getParameter("areaID");
LeagueDao dao = new LeagueDao();
java.util.List bestStoreList = dao.getBestStoreList(areaID);
actionContext.getRequest().setAttribute("bestStoreList", bestStoreList);
return actionContext.getMapping().findForward("bestStoreList");
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?