Web Technology Unit 5 Notes AKTU (BCS502)

AKTU · BTECH · Semester 5 · Web Technology · Unit 5 · Notes

AKTU Web Technology (BCS502) Unit 5 notes for B.Tech Semester 5 – Servlets and Java Server Pages. Topics: Servlet Architecture and Life Cycle, Handling HTTP…

Open the interactive reader to study this resource on AcademicArk.

Unit 5: Servlets and Java Server Pages – AKTU syllabus topics

  • Servlet Architecture and Life Cycle: Servlet Interface, Servlet Life Cycle, Tomcat and Servlet Containers (Legacy Papers)
  • Handling HTTP Requests with Servlets: Handling HTTP GET Requests, Handling HTTP POST Requests, Redirecting Requests, Servlet Form Handling with JDBC (Legacy Papers)
  • Session Tracking: Cookies, HttpSession
  • Java Server Pages (JSP): JSP Implicit Objects, JSP Scripting Elements, JSP Standard Actions, Using JavaBeans in JSP (Legacy Papers), JSP Directives, JSP Custom Tag Libraries, JSP Life Cycle, JSP and Servlet Comparison

Most asked AKTU PYQ questions from Unit 5

  1. Q6a. Discuss Servlet and its life cycle in detail. How do you create a servlet? (10 marks, 2021-22)
  2. Q7a. Explain Servlets with its Life Cycle. How its lifecycle is different from the life cycle of JSP? Explain with an example (10 marks, 2020-21)
  3. Q3b. Explain implicit objects available in jsp with example? (10 marks, 2017-18)
  4. Q4b. Explain the Life cycle of servlet? Also write a servlet for displaying a string “HELLO WORLD!” (10 marks, 2017-18)
  5. Q7a. Explain Servlets with its life cycle. How its life cycle is different from the life cycle of JSP? Explain with an example. (7 marks, 2019-20)
  6. Q2e. Explain the Servlet Life Cycle. Write a servlet code to display a string “WEAR MASK!” (10 marks, 2022-23)
  7. Q6b. What are java Beans? Why they are used? Write a JSP page and use an existing java bean in JSP page by using the standard action. Write the program with describing the output? (10 marks, 2022-23)
  8. Q7a. Discuss the different types of standard action tags used in JSP. Discuss the implicit objects available to JSP page. (10 marks, 2022-23)
  9. Q7b. (i) Create a HTML Form for taking Account Number as User Input. (ii) Write a Servlet program receiving this HTML form data and connect it with the Database by using JDBC. (iii) Send the current user Account Balance stored in a specific Database back to the User as response. (iv) Mention all the… (10 marks, 2022-23)
  10. Q5a. What is the difference between Session and Cookies? Write a servlet program for servlet login and logout using cookies. (10 marks, 2021-22)

AKTU paper codes: BCS502

Other Web Technology units

Web Technology previous year papers

More Web Technology resources

Browse all notes · Semester 5 notes