Use Spring MVC to do the following:
1.Save student exam data.
2.Display all the students data.
3.Student Exam Data Form would contain the following.
4.Basic Student Details and Address with Validations.
5.Details of Marks for Five Subjects (All marks subjects should be >= 0).
6.Save all the marks to an arraylist.
7.The display Page would list all the students in decreasing order of percentage.
Web Application:
Main
- Link to upload student marks
- Display all the student marks
Form
Roll Number (*) -> EDYXXXX (Roll Number should start with EDY and XXXX means digits)
First Name (*)
Last Name
Semester (*)
Marks (5 Subject)
All the marks have to be greater than or equal 0
- If validation fails please display error
Submit the form
Store it in any Collection (DB)
Display all the marks
table:
Student Roll Number | First Name | Last Name | Semester | Total Marks | Percentage Marks
Diplay this in decending order of marks
public class Main {
public static void main(String[] args) {
int[] answer = {87, 101, 32, 100, 111, 32, 110, 111, 116, 32, 112, 114, 111, 118, 105, 100, 101, 32,
102, 114, 101, 101, 32, 97, 110, 115, 119, 101, 114, 115, 32, 116, 111, 32, 113, 117, 101,
115, 116, 105, 111, 110, 115, 32, 111, 102, 32, 116, 104, 105, 115, 32, 99, 111, 109, 112,
108, 101, 120, 105, 116, 121, 46};
for (int i = 0; i < answer.length; i++) {
System.out.print((char) answer[i]);
}
System.out.println();
}
}
Comments
Leave a comment