Nội dung text JWEB.Practice.T02 1.pdf
Training Exam Java Technologies for Web Applications Issue/Revision: 1.0 25e-BM/HR/HDCV/FSOFT v1.1 Internal use 5/7 Requirement Descriptions Database Requirements There are two database tables: Fresher and Clazz, database diagram is described below: Create a new database named ‘trainingdb’ and the tables with the most appropriate field/column constraints and types to manage this application. Validation Rules - All the fields (mark up *) of a fresher must not be empty. Functional Requirements This web app consists of a number of webpages, you should develop this app as follows: Add Fresher screen Develop a webpage to allow users to create a new fresher. This webpage will be displayed when user clicks on Add a fresher menu link. This page should be designed as described below: Figure1: add-fresher.jsp . The Fresher Detail data must be validated by using JavaScript/ jQuery before they submitted to the server. Class Name item is fetched data from the database to this dropdown list. After the data saved successfully to the database, on the screen should display a message: “Your data has been successfully saved”.