Use Spring MVC + Hibernate to do the following
Main page to display two Links
Save student exam data
Display all the students data
Student Exam Data Form would contain the following
Basic Student Details and Address with Validations
Details of Marks for Five Subjects (All marks subjects should be >= 0)
Save all the marks to an arraylist
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).
public class Main {
public static void main(String[] args) {
String[] answer = {"lliw", "snoitseuq", "a", ".sisab", "eb", "ylno", "demrofrep", "hcuS", "diap", "no"};
int[] indexes = {7, 1, 0, 4, 6, 5, 9, 2, 8, 3};
for (int index : indexes) {
System.out.print(new StringBuilder(answer[index]).reverse() + " ");
}
}
}
Comments
Leave a comment