Details of this Paper

Create a JSP that displays the student name and the current

Description

solution


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 with 5 students in each course: CMIS440, CMIS445, and CMIS485.;The HTML form accepts the EMPLID and class ID from the user and sends them to the server to obtain the score.;Example of cmis440.txt file;John F Smith#111-22-3333#99.5;Michael Jones#111-22-4444#88.6

 

Paper#67528 | Written in 18-Jul-2015

Price : $32
SiteLock