0% found this document useful (0 votes)
42 views

JWT Assignment QuestionBank2

This document contains 26 questions for the Elective- Java Web Technology (JWT) subject for the MCA Semester – II at the SHRI CHIMANBHAI PATEL POST GRADUATE INSTITUTE OF COMPUTER APPLICATIONS. The questions cover topics related to servlets, JSP, MVC architecture, cookies, sessions, filters, listeners, deployment descriptors, JDBC, database access, security, and differences between common web development concepts. The questions are in a multiple choice or short answer format intended to test students' understanding of key Java web technologies.

Uploaded by

Bhavyataa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

JWT Assignment QuestionBank2

This document contains 26 questions for the Elective- Java Web Technology (JWT) subject for the MCA Semester – II at the SHRI CHIMANBHAI PATEL POST GRADUATE INSTITUTE OF COMPUTER APPLICATIONS. The questions cover topics related to servlets, JSP, MVC architecture, cookies, sessions, filters, listeners, deployment descriptors, JDBC, database access, security, and differences between common web development concepts. The questions are in a multiple choice or short answer format intended to test students' understanding of key Java web technologies.

Uploaded by

Bhavyataa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

SHRI CHIMANBHAI PATEL POST GRADUATE INSTITUTE OF COMPUTER APPLICATIONS

MCA SEMESTER – II
SUBJECT: 629408 Elective- Java Web Technology (JWT)

Faculty: Tinal Parikh

THEORY QUESTION BANK – 2021

1. How are servlet and JSP pages related? Explain.


2. “Separating data, business logic and presentation is a modern way managing web
applications”. Do you agree? Justify.
3. In one JSP page another page can be included using two different ways -explain both the ways
with proper justification.
4. Servlets are more useful for programming task – JSPs are more useful for generating output :
Justify your answer.
5. Explain JSP expressions, scriptlets and declarations with example.
6. What is meant by JSP Standard Actions?
7. Difference between <jsp: include page= > and <%@include file= >.
8. Write a program to accept two integers, divide the first by the second and display the result.
with the help of this demonstrate the errorPage and isErrorPage attributes.
9. What is the importance of Java Beans? Explain its properties with example.
10. List all implicit objects of JSP and explain any 5 with suitable example.
11. Define EL (Expression Language). Explain its implicit objects.
12. Give the names of the JSP directives. Explain important attributes of <%@page%> (page
directive) with example.
13. What is MVC architecture? Explain implementing of MVC with Request Dispatcher.
14. “Cookies are playing significant role in today’s world of e-Commerce”. Justify this statement
with your understanding of Cookies
15. Write down steps for sending the cookies from server to client.
16. Write down steps for receiving cookies from client to server.
17. Write the lines which creates cookie with userID E00123 and sets the maximum age to 15
days. What is the interpretation if maximum age is 0?
18. Explain how session tracking is achieved with URL Encoding.
19. “HttpSession are more secured ways to manage sessions on Web Applications”. Justify this
statement with your understanding of HttpSession.
20. Explain use of following session tracking API.
a) invalidate () b) logout () c) isNew () d) getMaxInteractiveInterval ()
e) getLastAccessedTime () f) setAttribute ()
21. Discuss Servlet/JSP filter with suitable example.
Explain Listener in detail.
22. Describe role of Deployment Descriptor File. Explain any 5 tags with suitable example.
23. What is JDBC? Explain how to make connection using JDBC.
24. What do you mean by ResultSet ? Explain different types of ResultSet with related methods.
25. Describe role of tomcat-user.xml for applying declarative security.
26. Differentiate between
a) jsp:include & jsp:forward
b) Callable Statement & Prepared Statement
c) Declarative Security & Programmatic Security
d) response.sendRedirect() and RequestDispatcher

You might also like