we give our exam on paper , same thing i want develop in jsp .student give online test and the moment they finished the test result show on the screen . i have lot of question , application choose question randomly and show on screen .
You will use both of them. After verifying access details you will load your questions in prepared beans and provide JSP with a way to either display them all in one go, or iterate through them forward & backward. Do not forget to use sessions so that your application remember which questions been answered.
By designing appropriate bean that will store relevant data in the session and then when results are to display compare supplied answer/s with correct answer/s and display boolean result of this operation