GoConqr has a new look! Let us know what you think.

Quiz

JSP

Chris Noctskie 100 questions

Take the quiz

Questions in this quiz (100)

  1. 1Which of the following is true about Initialization phase in JSP life cycle?
    1. AWhen a container loads a JSP it invokes the jspInit() method before servicing any requests.
    2. BContainer invokes _jspService() method during Initialization phase.
    3. CBoth of the above.
    4. DNone of the above.
  2. 2What JSTL stands for?
    1. AJavaServer Pages Standard Tag Library
    2. BJSP Tag Library
    3. CJava Standard Tag Library
    4. DNone of the above.
  3. 3What is the use of <c:remove > tag?
    1. AIt removes a item from a list
    2. Bit removes the data row from the database.
    3. CIt removes a variable from either a specified scope or the first scope where the variable is found
    4. DNone of the above.
  4. 4Setting isThreadSafe false can lead to poor performance.
    1. ATrue
    2. BFalse
  5. 5How to pass information from JSP to included JSP?
    1. AUsing <%jsp:param> tag.
    2. BUsing <%jsp:page> tag.
    3. CUsing <%jsp:import> tag.
    4. DUsing <%jsp:useBean> tag.
  6. 6Which of the following is true about <jsp:getProperty> action?
    1. AThe getProperty action gets the properties of a bean.
    2. BThe getProperty action converts the property of a bean to a string, and finally inserts it into the output.
    3. CBoth of the above.
    4. DNone of the above.
  7. 7What will happen if isELIgnored attribute is set as false?
    1. AExpression Language (EL) expressions will not be evaluated and will be treated as static text.
    2. BJSP container will ignore the EL expressions similar to comments.
    3. CBoth of the above.
    4. DNone of the above.
  8. 8_jspService() method of HttpJspPage class should not be overridden.
    1. ATrue
    2. BFalse
  9. 9Is JSP technology extensible?
    1. ATrue
    2. BFalse
  10. 10What is the correct signature of jspInit() method of HttpJspPage class?
    1. Avoid jspInit(HTTPRequest request, HTTPResponse response)
    2. Bvoid jspInit(HTTPRequest request, HTTPResponse response) throws ServletException, IOException
    3. Cvoid jspInit()
    4. Dvoid jspInit() throws ServletException, IOException

Information

Description
Quiz on JSP, created by Chris Noctskie on 26/06/2018.
Language
English
Views
9
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?