Professional Documents
Culture Documents
========================================
Q.1 Do as Directed.
1. getParameterValues() is a method of _________(class/interface).
2. The _________ character is used to start an EL.
3. doGet() method has _______ parameters.
4. <%@include file=......... > and <jsp:include page=””> are the
same(True/False)
5. What is the use of tag?
6. All filters must implement ____________interface.
7. Java is__________ and JavaScript is__________________ . -- WINTER-2021
UNIT - 1 :-
Q.1 What is Java Networking? Explain Java Socket API with example.--WINTER-2021
Q.2 What is InetAddress class? Explain factory method of InetAddress class with
suitable example.--SUMMER-2022
Q.3 Write a client-server program using UDP socket. Client sends a string and
server checks whether that
string is palindrome or not and responds with appropriate message.--SUMMER-2022
Q.4 What is Java Networking? Explain Java Socket API with example.--SUMMER-2021
===================================================================================
==========================
UNIT - 2 :-
Q.1 What is Servlet? Explain the servlet life cycle in detail with Example.--
WINTER-2021
Q.2 1. What are the major differences between doGet( ) and doPost( )?
2. Difference between GenericServlet and HttpServlet.
3. What is the difference between getHeaderNames and getHeaders method. --
WINTER-2021
Q.4 Discuss any seven common Status codes. And how to send status code?--WINTER-
2021
Q.6 (a) Explain the Servlet Life Cycle and Write a Servlet program which generates
a plain text.--WINTER-2020
Q.7 Briefly discuss the following HTTP 1.1 request headers i) Accept ii)
Accept#Charset iii) Host
iv) Accept-Language v) Authorization vi) Cookie vii) User#Agent --WINTER-2020
Q.10 Discuss status codes. Explain any 5 status codes with example.--SUMMER-2022
Q.11 Define the servlet with its type. Explain servlet life cycle with example.--
SUMMER-2022
Q.12 What is a Cookie? Explain method to add, retrieve and delete cookie using
suitable example.--SUMMER-2022
Q.13 What is the use of Session Tracking in the web? Explain methods available ssin
HttpSession class with example.--SUMMER-2022
Q.15 What is Session Tracking? List out the different techniques used to track the
session. Explain with
suitable example --SUMMER-2021
Q.17 Define Cookies. How will you handle cookie in servlet? Explain with suitable
example.--SUMMER-2021
===================================================================================
==========================
UNIT - 3 :-
Q.1 Define Servlet Filter with proper example. How filter use for pre and post
processing of request? --WINTER-2021
Q.2 What is the functionality of Listeners? Explain any five listeners in detail.
--WINTER-2021
Q.3 Define Servlet Filter with proper example. How filter use for pre and post
processing of request?--WINTER-2020
Q.5 What is Filter in Servlet? Explain with suitable example. Write steps to
implement Filter with appropriate xml file.--SUMMER-2022
===================================================================================
==========================
UNIT - 4 :-
Q.1 Write a JSP Program to display the list of marks obtained in assignment of
Advance Java Of 5th Semester students. --WINTER-2021
Q.5 Explain JSTL Tags with example (1) c:out (2) c:forEach (3) c:forTokens (4) c:if
(5) c:choose --WINTER-2021
Q.6 Write a code to create a student bean to store the information like
enrollment_no, stud_name and stud_course.
Also write the code to retrieve the information using JSP. --WINTER-2021
Q.7 (b) What is the use of JSP directive? Explain the page directive with
attributes. --WINTER-2020
Q.8 (a) Explain the mechanism of accessing Bean Properties and accessing
Collections using JSP Expression Language with example.--WINTER-2020
Q.13 In which case Prepared statement is useful? Write the outline code that shows
how to use PreparedStatement
if price of all recordings need to be changed in the music table. Assume
suitable data.--WINTER-2020
Q.14 What is MVC? Explain with a suitable example. Briefly explain the role of
Request Dispatcher in MVC.--SUMMER-2022
Q.15 What is the importance of JavaBeans in JSP? Explain important JSP actions to
build and manipulate
JavaBean component along with all its attributes.--SUMMER-2022
Q.16 Write a code to develop a JSP Page to display the personal information and
result information of the
student in two different tabular formats.--SUMMER-2022
Q.17 What is the purpose of ‘.tld’ file? Write a code for creating custom tags to
display current date and time with attributes.--SUMMER-2022
Q.18 What is JSTL? Explain any five core tags with suitable example.--SUMMER-2022
Q.19 What do you understand by JSP Actions? What is the difference between
<jsp:forward page=……>and
response.sendRedirect(url).--SUMMER-2021
Q.20 Give the name of JSP Directive. What is the difference between include
directive and <jsp: include> action.--SUMMER-2021
Q.21 Explain JSTL Tags with example (1) c:out (2) c:forEach (3) c:forTokens (4)
c:if (5) c:choose. --SUMMER-2021
Q.22 Explain Tag Library Components. Explain each of them in brief to create the
custom JSP tags--SUMMER-2021
Q.25 Write steps for MVC architecture - Also justify how MVC is better compare to
regular Servlet-JSP implementation --SUMMER-2021
===================================================================================
==========================
UNIT - 5 :-
Q.2 ‘Spring has made enterprise Java development easier.’ Justify this statement.
--WINTER-2020
Q.4 Discuss Spring Beans Life Cycle with example and diagram. --SUMMER-2022
Q.5 What is the JavaBeans? Explain JavaBean component along with all its
attributes--SUMMER-2021
UNIT - 6 :-
Q.1 Explain the process for querying databases using JDBC Driver.--WINTER-2020
===================================================================================
==========================