0

JSP and Servlet Quiz - 2

Description: JSP and Servlet Quiz - 2
Number of Questions: 6
Created by:
Tags: java jsp servlet
Attempted 0/6 Correct 0 Score 0
  1. 4K

  2. 2K

  3. 6K

  4. None of the above is correct.


Correct Option: A
  1. _jspService()

  2. jspInit()

  3. jspDestroy()

  4. getParameter()


Correct Option: A

The session tracking in the JSP can be done by :-

  1. URL rewriting
  2. Cookies
  3. User-Authorization
  4. Hidden Files
  1. 1,3,4 only

  2. 2,3,4 only

  3. 1,2,4 only

  4. 1,2,3,4


Correct Option: C
  1. doPost()

  2. doGet()

  3. System.out.println()

  4. System.exit(0);


Correct Option: D

Some Operating Systems have a limitation on the Max Length of the URL, which are normally _______ characters.

  1. 255

  2. 225

  3. 264

  4. 250


Correct Option: A

The mails can be send from the Servlet by the usage of the following :-

  1. Simple Mail Transfer Protocol (SMTP) implementation in Java.

  2. Java Mail API

  3. Both a and b

  4. Neither a and b


Correct Option: A
- Hide questions