}
}
boolean generateNextPage(HttpServletRequest request, java.io.PrintWriter out)
{
SRRunner run = m_run;
HttpSession session = request.getSession();
if (run.isFinished()) {
finish(out, session);
return false;
}
RawCGIParams rawParams = new RawCGIParams();
Enumeration paramNames = m_request.getParameterNames();
while (paramNames.hasMoreElements()) {
String name = (String) paramNames.nextElement();
String[] values = m_request.getParameterValues(name);
for (int i = 0; i < values.length; i++) {
//out.println(" " + values[i]);
//I assume most of the time, each param only has one value!
rawParams.add(name, values[i]);
}
}
SRResults results = new SRResults(rawParams);
run.proceed(results);
if (run.isFinished()) {
finish(out, session);
return false;
}
return true;
}