%@ page import="WebFlow.*" %>
<%@ page import="WebFlow.ContextManager.*" %>
<%
String userName=storeInfo.getTableVal("userName");
String problemName=request.getParameter("problemName");
String problemChoice = request.getParameter("probchoice");
ContextManager cm=ServerServlet.getContextManager(userName);
if(problemChoice.equals("Edit") || problemChoice.equals("ViewData") ) {
String[] sessionList = cm.listProblemSessions(problemName);
if(!sessionList[0].equals("null")) {
storeInfo.setTablePair("problemName",problemName);
%>
Sesson List
Session Selection
For the problem you selected, you have the following sessions. Each
time you edit a particular problem, a new session is created for you, so
all of the old information will be saved. You can also delete sessions you
no longer wish to keep and visualize your data which you have already created after submitting the job.
<% } else { //if(sessionList)
%>
You don't have your session archive.
<%
}
%>
<% } else { //if(problemChoice)
cm.removeProblem(problemName);
%>
The problem archive, <%= problemName %> was deleted.
<%
}
%>