Tag: programming languages

Questions Related to programming languages

  1. Both jspInit() and jspDestroy can be overridden

  2. Only jspInit() can be overridden

  3. Only jspDestroy() can be overridden

  4. Only _jspService can be overridden


Correct Option: A

Which statements about disabling scripting elements are true?

  1. You can only disable scripting at the application level

  2. You can disable scripting via DD by using element

  3. You can disable scripting via DD

  4. You can disable scripting programmatically by using the isScriptingEnabled page directive attribute


Correct Option: B
  1. A tag file may be placed in any subdirectory of WEB-INF

  2. A tag file may NOT be placed in a JAR file in the WEB-INF/lib directory

  3. A tag file must have the file extension of .tag or .tagx

  4. A TLD file must be used to map the symbolic tag name to the actual tag file


Correct Option: C
  1. HTTP Basic Authentication

  2. Form Based Authentication

  3. HTTP Digest based Authentication

  4. HTTPS Client Authentication


Correct Option: B
  1. Hello World

  2. out.print("Hello World");

  3. No output is generated by this line

  4. "Hello World"


Correct Option: C
  1. doGet

  2. doTrace

  3. doOptions

  4. doError


Correct Option: A,B,C