Correct Answer: session and Cookies
Explanation:
Note: This Question is unanswered, help us to find answer for this one
JSP And Servlets Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More JSP And Servlets MCQ Questions
Which is the best place to define error pages for JSPs?
If submit a form without mentioning the method type(get or post) and called servlet. which method will invoke? doGet() or doPost().
When a web browser asks for a JSP page, the first thing the JSP engine does is:
public class SomeServlet extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { request.setAttribute("a", "value") ; .... } } What would be the scope of a attribute ?
The 3 ways to maintain session between web client and the server are:
What output will be sent to the browser by the following code snippet? -->
What does the container do with the following code snippet?
Assuming the servlet method for handling HTTPGET requests is doGet(HttpServletRequest req, HTTPServletResponse res), how do you get a request parameter in that servlet?
Which method in the HttpServlet class corresponds to the HTTPPUT method?
Which interface provides access to request scoped attributes?