BIG FESTIVE OFFER! Get a bundle of 30+ tech courses for JUST Rs. 4999/- or $70. GRAB NOW!
Live Help (Start Chat)
Interview Questions and Answer
Options:
a. Request
b. HttpRequest
c. HttpServletRequest
d. ServletRequest
Reveal Answer
Options:
a. request, page, session, application
b. request, page, session, global
c. response, page, session, application
d. request, page, context, application
Reveal Answer
Options:
a. Object created with request scope are accessible only from the page in which they are created.
b. Object created with request scope are accessible only from the pages which are in same session.
c. Object created with request scope are accessible only from the pages which are processing the same request.
d. Object created with request scope are accessible only from the pages which reside in same application.
Reveal Answer
Options:
a. request.getParameter()
b. response.getParameter()
c. request.getParameterNames()
d. response.getParameterNames()
Reveal Answer
Options:
a. The autoFlush attribute can specify that buffered output should be flushed automatically when the buffer is filled.
b. The autoFlush attribute can specify that an exception should be raised to indicate buffer overflow.
c. Both of the above.
d. None of the above.
Reveal Answer
Options:
a. The forward action terminates the action of the current page.
b. The forward action forwards the request to another resource such as a static page, another JSP page, or a Java Servlet.
c. Both of the above.
d. None of the above.
Reveal Answer
Options:
a. The forward action terminates the action of the current page.
b. The forward action forwards the request to another resource such as a static page, another JSP page, or a Java Servlet.
c. Both of the above.
d. None of the above.
Reveal Answer
Options:
a. The <c:param> tag allows proper URL request parameter to be specified with URL.
b. The <c:param> tag does any necessary URL encoding required
c. Both of the above.
d. None of the above.
Reveal Answer
Options:
a. jspInit()
b. jspService()
c. jspDestroy()
d. All of the above
Reveal Answer
Options:
a. The language attribute indicates the programming language used in scripting the servlet.
b. The language attribute indicates the programming language used in scripting the html page.
c. The language attribute indicates the programming language used in scripting the JSP page.
d. None of the above
Reveal Answer
Options:
a. request.getParameter()
b. response.getParameter()
c. request.getParameterValues()
d. response.getParameterValues()
Reveal Answer
Options:
a. Servlet output is immediately directed to the response output object
b. Compilation error.
Reveal Answer
Options:
a. The isELIgnored option gives you the ability to disable the evaluation of Expression Language (EL) expressions.
b. The default value of the isELIgnored attribute is true.
c. Both of the above.
d. None of the above
Reveal Answer
Options:
a. Parsing the JSP.
b. Turning the JSP into a servlet.
c. Compiling the servlet.
d. All of the above.
Reveal Answer
Options:
a. JavaServer Pages Standard Tag Library
b. JSP Tag Library
c. Java Standard Tag Library
d. None of the above.
Reveal Answer
Options:
a. The <c:forEach > exists as a good alternative to embedding a Java for, while, or do-while loop via a scriptlet.
b. The <c:forEach > is used to iterate over a list of items in jsp
c. Both of the above.
d. None of the above
Reveal Answer
Bestdotnet google plus