?? operationforumlevelaction.java
字號(hào):
package com.elan.forum.actions.admin;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;
import com.elan.forum.model.Forumlevel;
import com.elan.forum.util.ElCheckSession;
import com.elan.forum.elf.El;
public class OperationForumLevelAction extends DispatchAction {
public ActionForward showLevelInfo(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
HttpSession session = request.getSession();
if (ElCheckSession.CheckSession(session, 1)) {
// ...驗(yàn)證錯(cuò)誤
}
List<Forumlevel> list = El.getEl().getForumAdminMgr().getForumLevel();
if (list == null) {
// 沒有任何記錄處理代碼
}
System.out.println("in the OperationForumLevelAction showLevelInfo");
request.setAttribute("forumLevel", list);
return mapping.findForward("forumLevel");
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -