Test Status
      JSPRANDOMTEST
      (A) Allows separation of roles between web developers and application developers
      (B) Allows integration with Content Management tools
      (A) Not a standard J2EE architecture
      (B) Load Balancing is not possible
      (C) All the above
      (D) Both (b) and (c)
      (A) by using request.setMethod()
      (B) impossible to know
      (C) by using request.getMethod()
      (A) The code does not compile as property attribute cannot take * as a value.
      (B) The code sets value of all properties of employee bean to "*".
      (C) The code sets the values of all properties of employee bean to matrching parameters in request object.
      (D) The code does not compile as there is no property attribute of setProperty tag.
      (A) <%= i; %>
      (B) <%int i = 1;%>
      (C) <%int i = 1; i; %>
      (D) <%int i = 1%>
      (A) http://www.example.com/SCWCDtestApp/test.jsp
      (B) http://www.example.com/SCWCDtestApp/Customer/test.jsp
      (C) http://www.example.com/SCWCDtestApp/WEB-INF/test.jsp
      (D) http://www.example.com/SCWCDtestApp/Customer/Update/test.jsp
      (A) http://java.sun.com/jsp/jstl/core
      (B) http://java.sun.com/jsp/core
      (C) http://java.sun.com/core
      (D) http://java.sun.com/jsp/jstl1.1/core
      (A) The browser will print either hello or hi based upon the return value of random.
      (B) The string hello will always get printed.
      (C) The string hi will always get printed.
      (D) The JSP file will not compile.
      (A) The program prints "Welcome John"
      (B) The program gives a syntax error because of the statement 1
      (C) The program gives a syntax error because of the statement 2
      (D) The program gives a syntax error because of the statement 3
      (A) The two methods perform identically.
      (B) forward executes on the client while sendRedirect() executes on the server.
      (C) forward executes on the server while sendRedirect() executes on the client.
      (A) JSP scriptlets and declarations result in code that is inserted inside the _jspService method.
      (B) The JSP statement <%! int x; %> is equivalent to the statement int x;.
      (C) The following are some of the predefined variables that maybe used in JSP expression - httpSession, context.
      (D) To use the character %> inside a scriptlet, you may use %\> instead.