| Question # 1 of 10 ( Start time: 09:50:32 PM )  | Total Marks: 1  | ||||||||
| Servlets are used to  | |||||||||
|  Select   correct option: | |||||||||
|  | |||||||||
|  | |||||||||
 
 | Question # 2 of 10 ( Start time:   09:51:52 PM )  | Total   Marks: 1  | ||||||||
| From following which code can   be used to create session object in the Servlet:  | |||||||||
|  Select   correct option: | |||||||||
|  | |||||||||
|  | |||||||||
 
 | Question # 3 of 10 ( Start time:   09:53:16 PM )  | Total   Marks: 1  | ||||||||
| Which of the following object   contains information specific to a servlet?  | |||||||||
|  Select   correct option: | |||||||||
|  | |||||||||
|  | |||||||||
 
 | Question # 4 of 10 ( Start time:   09:54:43 PM )  | Total   Marks: 1  | ||||||||
| getAttribute(String)   extracts----------- stored value from a session object  | |||||||||
|  Select   correct option: | |||||||||
|  | |||||||||
|  | |||||||||
 
 | Question # 5 of 10 ( Start time:   09:55:46 PM )  | Total   Marks: 1  | ||||||||
| Web.xml is a ___________  | |||||||||
|  Select   correct option: | |||||||||
|  | |||||||||
|  | |||||||||
 
 | Question # 6 of 10 ( Start time:   09:57:02 PM )  | Total   Marks: 1  | ||||||||
| Which of the following folder   contains configuration file?  | |||||||||
|  Select   correct option: | |||||||||
|  | |||||||||
|  | |||||||||
 
 | Question # 7 of 10 ( Start time:   09:58:31 PM )  | Total   Marks: 1  | ||||||||
| Why we use RequestDispatcher to   forward a request to another resource(servlet, html, jsp), instead of using a   sendRedirect()?  | |||||||||
|  Select   correct option: | |||||||||
|  | |||||||||
|  | |||||||||
 
 | Question # 8 of 10 ( Start time:   09:59:50 PM )  | Total   Marks: 1  | ||||
| HttpServletResponse object is   created when web server executes the servlet. This object is passes to the   servlet service method which passes it to doGet () or doPost().  | |||||
|  Select   correct option: | |||||
|  | |||||
|  | |||||
 
 | Question # 9 of 10 ( Start time:   10:00:14 PM )  | Total   Marks: 1  | ||||||||
| HTTP is a ---------protocol.  | |||||||||
|  Select   correct option: | |||||||||
|  | |||||||||
|  | |||||||||
 
 | Question # 10 of 10 ( Start time:   10:00:56 PM )  | Total   Marks: 1  | ||||||||
| Session tracking is referred as    | |||||||||
|  Select   correct option: | |||||||||
|  | |||||||||
|  | |||||||||
 
  
 
No comments:
Post a Comment