Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a JSP that displays the student name and the current score, given the EMP

ID: 3560763 • Letter: C

Question

Create a JSP that displays the student name and the current score, given the EMPLID and class ID. For each class, a text file is used to store the student name, EMPLID, and current score. The file is named after the class ID with .txt extension. For instance, if the class ID were cmis440, the file name would be cmis440.txt as shown in Figure2. Suppose each line consists of student name, EMPLID, and score. These three items are separated by the # sign. Create an HTML form that enables the user to enter the EMPLID and class ID, as shown in Figure 1(a). Upon clicking the Submit button, the result is displayed, as shown in Figure 1(b). If the EMPLID or the class ID does not match, report an error. Assume three courses are available: CMIS440, CMIS445, and CMIS485.

Explanation / Answer

JSP that displays the student name and the current score