?? forumlist.jsp
字號:
<%
try{
Vector gateWayVector=GateWayFactory.getGateWays();
for( i=0;i<gateWayVector.size();i++)
{
GateWay gateWay=(GateWay)gateWayVector.get(i);
int gateWayID=gateWay.getGateWayID();
String gateWayName=gateWay.getGateWayName();
out.println("<option style=BACKGROUND-COLOR:#99ccff>╋ "+gateWayName+"</option>");
try{
Vector forumVector=ForumFactory.getForums(gateWayID);
for(int j=0;j<forumVector.size();j++){
Forum theListForum=(Forum)forumVector.get(j);
out.println("<option");
if(forumID==theListForum.getForumID())
out.println("selected");
out.println("value=\""+theListForum.getForumID()+"\"> ├"+theListForum.getForumType()+"</option>");
}
}
catch(Exception e){
e.printStackTrace();
}
}
}
catch(Exception e){
e.printStackTrace();
}
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -