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

Assignment 3 AJP

Uploaded by

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

Assignment 3 AJP

Uploaded by

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

GOVERNMENT POLYTECHNIC, AHMEDABAD

DEPARTMENT OF INFORMATION TECHNOLOGY


TERM: 27/07/2023 TO 16/12/2023 [231]

Course Code: 4351603 Semester: 5th


Course Title: Advanced JAVA Programming

Date:

ASSIGNMENT-3 (Unit -3)

This assignment covers following course outcome:

CO3: Develop Web Applications using Servlets and deploy in popular servers like
Tomcat.

1. Explain the life cycle phases of a servlet. Describe each of the servlet life cycle
methods and their purposes.
2. Give difference between Servlet and CGI.
3. What is the Java Servlet Development Kit (SDK), and how does it relate to
servlet development? Explain its role in the servlet development process.
4. List out the ways we can develop a servlet. differentiate Servlet Vs
GenericServlet Vs HttpServlet in Java.
5. List Various tags used in WEB.XML file in Servlet.
6. Provide a step-by-step guide on how to create and compile a simple servlet
source code in Tomcat server.
7. What is HTTP/Servlet Technology? Describe HTTPServlet class with its
methods with suitable Example.
8. What is Difference between doGet () and doPost () Methods?
9. Explain Session tracking in Servlet.
10. Explore the javax.servlet package in Java. What is its significance in servlet
development, and what classes and interfaces are commonly used from this
package?
11. Write a program using servlets to reading database and displaying them.

You might also like