Ante XWiki Home » Tests » Servlets and JSP » ServletSpec_3001

ServletSpec_3001

Last modified by Alina Vasiljeva on 2012/01/07 19:36
Back to Item Set

3001 Question:
What method is called by the servlet container to process a GET request (according to Servlet 2.4 specification)?
Select 1 correct answer(s)!

  1. public String doGet(HttpServletRequest request,
        HttpServletResponse response) throws IOException { 
        //code 
    }
  2. public void doGet(HttpServletRequest request,
        HttpServletResponse response) throws IOException { 
        //code 
    }
  3. public String doGet(HttpServletRequest request,
        HttpServletResponse response) throws ServletException {
        //code 
    }
  4. public void doGet(ServletRequest request, 
        ServletResponse response) throws ServletException { 
        //code 
    }

Skill: Issues of Servlet Programming

Tags:
Created by Kalvis Apsītis on 2007/12/31 21:40

This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 3.0.36132 - Documentation