out.print( jobId );
out.write("</h2><br>\n\n");
final JobID jobIdObj = JobID.forName(jobId);
JobWithViewAccessCheck myJob = JSPUtil.checkAccessAndGetJob(tracker,
jobIdObj, request, response);
if (!myJob.isViewJobAllowed()) {
return; // user is not authorized to view this job
}
JobInProgress job = myJob.getJob();
// redirect to history page if it cannot be found in memory
if (job == null) {
String historyFile = tracker.getJobHistory().getHistoryFilePath(jobIdObj);
if (historyFile == null) {
out.println("<h2>Job " + jobId + " not known!</h2>");