Learning program for AE
1. Read http://intranet.merceworld.com/node/249
2. Read http://intranet.merceworld.com/node/234
3. Read http://intranet.merceworld.com/ispolicy
4. Read coding standard document. Find attached pdf.
5. Core java assignment.
http://intranet.merceworld.com/node/370
Write test cases for each program.
Use RCS to maintain different versions of your programs.
6. Advance java assignment.
Prerequisites: Java, Servlet, HTML, css, JDBC
Problem statement : You have to develope one small login and registration form web application. You have to create a table 'yourname_userdetails' in mysql database. This table will contain the fields of below mentioned registration form with username as primary key.
Screen 1: This is the login form. This screen will contain two textfields for username and password, two button, 'Login' and 'Reset' and one hyperlink 'Register'.
Screen 2: This is registration form. This screen will contain fields for username, password, confirm password, data of birth, phone no, address (textarea), hobbies(checkboxes) and upload resume button. There will be two buttons namely 'Submit' and 'Reset'.
Successful registration will insert details in database table 'youname_userdetails' and redirect control to login form.
Screen 3: After successful login you have to display this screen i.e home page. This screen will display registration details in non-editable form and one 'Download resume' button. At top right corner display one hyperlink labeled 'Logout'.
You have to use your validation program from your core java assignment for validation of login and registration form. If validation fails for any field, then you should display the error message with red color below the respective field and you have to repopulate the form fields with their old values. The web application should support session management. e.g If user clicks on 'Download resume' button and if no session exist, then you should redirect control to login page with appropriate error message. You should use css in HTML. For example, if you want to change the color of error messages then you only need to change the css property. You have to write two servlets. One for login/logout functionality and other for registration. For this application also, you have to prepare test cases for testing of your web application.
If you have any queries, consult with your reporting officer.
Attachment | Size |
---|---|
coding-standards.pdf | 221.67 KB |
- Login to post comments
- Printer-friendly version
- Send to friend