Showing posts with label WTAD MVC Programs. Show all posts
Showing posts with label WTAD MVC Programs. Show all posts

7 May 2014

Some WTAD Program Definitions...

The below listed are the Definitions of The program which have to be implemented.
This will be helpful in practical exams or self study.May be Helpful to You...

Definitions:-

1. Design an application that takes input as father’s age and son’s age. The user should be redirected to “myError.jsp”, if any of the age is invalid and also if father’s age is less than or equal to son’s age. Otherwise the user should be redirected to “Welcome.jsp”, where the father’s age at the son’s birth time is shown. 

2. Develop an application that stores personal information of an employee(Minimum 3 employee details) in a Bean. Write a servlet code that takes employee id, return status OK along with the details if the id is valid, or else return the Not found status. Make use of HTTP status codes.

3. Create a form to get name and value for the cookie and provide check boxes  to add a cookie, delete a cookie or delete later (after 10 seconds), perform appropriate action as per user’s choice. 

4. Design a page having link for 3 jsp pages and print the access count by including a file as footer which maintains and prints different access count for each jsp page.

5. Write a servlet to print all the response headers in tabular format either in html or excel depending on user’s choice. 

6. Design a form to accept numerator and denominator from the user and print the factorial of result. Incase exception occurs errorpage.jsp should be displayed with user friendly message.

7. Store student details such as eno, name and marks of 3 subjects in a bean for 3 students, develop a servlet which takes the eno of a student as a request parameter and displays the marksheet for the student. 

8. Develop an JSP application to get student’s roll no. if the marks of the student is between 40 and 50, change the back color of result.jsp to yellow, if the marks is between 50 and 60, change the back color of the same page to green and if marks less than 40 the back color should be red and if marks is above 60 back color should be blue.  

9. Develop a bean application having property student id, student program (MCA/MBA/BE), store data for atleast 3 students. Design a JSP page that will ask student id display student’s information. 

10. Develop a servlet which looks for the username and password, and forwards to a home page in case the cookies are valid and forwards to login page, in case the cookies are not found or the cookies are not valid.

11. Make an HTML form that lets you send a background color and foreground color to  a servlet that display a web page in those colors. If you go straight to the servlet without going through the HTML form, then the servlet use cookies values to provide reasonable default color choices. 

12. Write a JSP page to create “header.jsp” having company name and “footer.jsp” having copyright information. Include header.jsp and footer.jsp to si.jsp which asks user to input Principal amount , Rate of interest and no. of years and calculate Simple Interest based on inputted values and display output in si.jsp.

MVC Definitions:-


1. Develop MVC architecture that asks user to enter Employee ID and information such as Employee ID, Employee Name , Basic Salary, DA (50% OF Basic sal.), HRA (15% of Basic Sal.), Gross Sal. ( BS + DA + HRA), IT (10% of  GS), Net Salary (GS-IT). (Use bean to store static collection of data of the employees (employee id, name, basic salary).

2. Develop MVC architecture that asks user to enter Student enrollment number and display message “Scholar student” in red color  if percentage above 60% ,  If percentage is below
60% then display message “Average Student” along with information such as Student Name ,Enrollment no., Marks of 3 subjects, Total and percentage.  (Use bean to store static collection of data of the student like  eno, name, marks of 3 subjects).

3. Develop MVC architecture that asks user to enter account number and display message “Regular Customer” in red color if balance is less than 5000,  if balance is above 5000 then display “Elite Customer” in green color along with account holder information such as Customer Name, Account no., Balance.  (Use bean to store static collection of data of the
customers).

Comments

© 2013-2016 ITTechnocrates. All rights resevered. Developed by Bhavya Mehta