%@ page info="Review problem and select code and host you wish to use." %>
<%@ page import="WebFlow.*" %>
<%@ page import="WebFlow.ContextManager.*" %>
<%@ page errorPage="/Generic/Error.jsp" %>
Problem Archive
<%
//String userName=storeInfo.getTableVal("userName");
ContextManager cm=modserver.getContextManager();
String[] problemList = cm.listProblems();
int problemListSize = problemList.length;
System.out.println("problmeList Size: "+problemList.length);
//System.out.println("problmeList: "+problemList[0]);
//slave WebFlow Server
ContextManager slavecm=modserver.getContextManagerForSlave();
String[] slaveproblemList = slavecm.listProblems();
int slaveproblemListSize = slaveproblemList.length;
System.out.println("slaveproblmeList Size: "+slaveproblemList.length);
//System.out.println("slaveproblmeList: "+slaveproblemList[0]);
//if(!problemList[0].equals("null") || !slaveproblemList[0].equals("null")) {
if( problemListSize != 0 || slaveproblemListSize != 0) {
%>
Problem Selection
The following is a list of your old problems. You can review and edit any of
the properties selected for that particular application, such as host machine,
number of nodes, and input filess, and then resubmit the job. Each time
you revisit a problem and edit it, a new session will be created, so all of
your old problem sessions will be retained after editing. You can also visualize your data which you have already created after submitting the job.
<% } else { //if(problemList)
%>
You don't have your problem archive.
<%
}
%>