WTAD Sample Test Paper 4
(2)Capturing user requests is traditionally done via a ______________.
(3)_____________ attribute of <BODY> tag is used to change the
default background color.
(5)Write a java Script for validation of prime numberin textbox.
Que 2(a) List basics steps for querying databases. Explain in brief. 03
(b) How to access scoped variable using Expression Language with small
(b) Explain JSP Expression, JSP Scriptlets and JSP Declaration with
Que 3. List all HTTP 1.1 Request Headers. Explain any five in detail. 06
Que 3. List all HTTP 1.1 Response Headers. Explain any five in detail. 06
Que 4. What is Java Bean? How to use it? Explain with example. 06
Que 4. What is MVC Architecture? List steps for implementing MVC
architecture? Write a simple program to explain MVCarchitecture.
Que 5. Develop a Servlet which looks for cookies for username and password,
and forwards to a home.jsp in case the cookies are valid and forwards to
login.jsp, in case the cookies are not found or thecookies are not valid.
Que 5. Develop a program to perform the database driven operation like List all
records and insert new records. To perform the above operations create
one table named Employee.
EmpId Integer, Empname Varchar, Emp_Salary Numeric