Web Technology Unit 5 – Servlets and Java Server Pages: AKTU previous year questions
36 AKTU questions from Unit 5 (Servlets and Java Server Pages) asked in 2018–2026, tagged by marks, year and topic. In short: about 28 marks of every paper come from this unit; the most asked topic is Java Server Pages (JSP) (19 times); 23 questions came back in a later year. The latest ones are listed below; on the page you can filter them by 2-mark or long questions, topic and repeats.
Unit 5 previous year questions
- Explain the Java Server Pages (JSP). (2 marks, 2026, Java Server Pages (JSP))
- Design a JSP page using scripting and standard actions to display user input. (7 marks, 2026, Java Server Pages (JSP))
- Describe the Servlet life cycle and its methods. (7 marks, 2026, Servlet Architecture and Life Cycle)
- Explain scripting elements, standard actions, and directives with code snippets. (7 marks, 2026, Java Server Pages (JSP))
- What are the methods of the Servlet interface? (2 marks, 2025, Servlet Architecture and Life Cycle)
- Describe the process of handling HTTP POST requests in Servlets. (7 marks, 2025, Handling HTTP Requests with Servlets)
- Explain how HttpSession can be used for session tracking in Servlets. (7 marks, 2025, Session Tracking)
- Discuss the standard actions in JSP and their applications. (7 marks, 2025, Java Server Pages (JSP))
- Discuss do Post() and do Get() method. (2 marks, 2023, Handling HTTP Requests with Servlets)
- Discuss difference between CGI and Servlet. (2 marks, 2023, Servlet Architecture and Life Cycle)
- Discuss JSP Technology. (2 marks, 2023, Java Server Pages (JSP))
- Explain the Servlet Life Cycle. Write a servlet code to display a string “WEAR MASK!” (10 marks, 2023, Servlet Architecture and Life Cycle)
Most asked Unit 5 topics
- Java Server Pages (JSP) – asked 19 times
- Servlet Architecture and Life Cycle – asked 7 times
- Handling HTTP Requests with Servlets – asked 6 times
Unit 5 question pattern
- 2-mark questions: 10 asked in 2018–2026
- 7-mark questions: 10 asked in 2018–2026
- 10-mark questions: 16 asked in 2018–2026
- About 28 marks from Unit 5 in every paper
- 23 questions were asked again in a later year
Unit 5 questions year by year
- 2026: 4 Unit 5 questions asked (23 marks across that year's papers)
- 2025: 4 Unit 5 questions asked (23 marks across that year's papers)
- 2023: 7 Unit 5 questions asked (46 marks across that year's papers)
- 2022: 5 Unit 5 questions asked (34 marks across that year's papers)
- 2021: 5 Unit 5 questions asked (34 marks across that year's papers)
- 2020: 3 Unit 5 questions asked (16 marks across that year's papers)
- 2019: 2 Unit 5 questions asked (14 marks across that year's papers)
- 2018: 6 Unit 5 questions asked (60 marks across that year's papers)