Lecture 32 Quiz: Revision & Practical (Servlets + JSP)

Note

Review before quiz: Lectures | Week 10 Content | Lab 8

Lecture 32 Self-Check

Question 1: What is the key difference between redirect and forward in servlet/JSP flow?
Select an item
Question 2: Which method is used to log out a user by ending their HttpSession?
Select an item
Question 3: In a typical MVC pattern with Servlets and JSP, what is the correct role assignment?
Select an item
Question 4: What is the difference between request.getSession() and request.getSession(false)?
Select an item
Question 5: A JSTL <c:if> tag is not rendering and throws an error. What is the most likely cause?
Select an item