1. What is session management in a Java web application? A. The process of maintaining user-specific data across multiple requests B. The process of starting a web server C. A type of coffee bean D. A Java keyword Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
2. Which HTTP method is typically used to create a new session in Java web applications? A. `SESSION` B. `PUT` C. `GET` D. `POST` Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
3. What is the purpose of the `HttpSession` object in Java web applications? A. To define JavaBean properties B. To execute SQL queries C. To store session-specific data between client requests D. To create JavaBeans Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
4. In JSP (JavaServer Pages), what is the purpose of the `<% ... %>` scriptlet tag? A. To create JavaBean properties B. To embed Java code within the JSP page C. To manage JavaBean events D. None of These Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
5. What is the primary role of the JavaServer Pages Standard Tag Library (JSTL)? A. To create JavaBeans B. To execute SQL queries C. To simplify JSP development by providing custom tags for common tasks D. To define JavaBean properties Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
6. In JSP, what is the `` action used for? A. To define JavaBean properties B. To execute SQL queries C. To create JavaBeans D. To include the content of another resource in the current JSP page Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
7. What is the purpose of the JavaServer Pages Expression Language (EL)? A. To simplify the retrieval and manipulation of data in JSP pages B. To define JavaBean properties C. To execute SQL queries D. To create JavaBeans Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
8. Which of the following is NOT a valid JSP directive? A. `<%@include%>` B. `<%@directive%>` C. `<%@page%>` D. `<%@taglib%>` Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
9. What is the role of the `javax.servlet.http.HttpSessionBindingListener` interface? A. To define JavaBean properties B. To execute SQL queries C. To listen for changes in session attribute values D. To create JavaBeans Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
10. In JSP, what is the purpose of the `` action? A. To execute SQL queries B. To declare and instantiate a JavaBean C. To manage JavaBean events D. None of These Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board