JSP MCQ Quiz
JSP MCQ Quiz
JSP MCQ Quiz
com
JSP MCQ Quiz
A. Yes
B. No
A. application/jsp
B. text/javax
C. java/jsp
D. java/text
A. include
B. page
C. export
D. useBean
A. True
B. Null
C. False
Q5. In JSP config is instance of which class?
A. javax.servlet.ServletContext
B. javax.servlet.ServletConfig
C. javax.servlet.Context
D. javax.servlet.Application
Q7. In JSP Action tags which tags are used for bean development?
A. jsp:useBean
B. jsp:setPoperty
C. jsp:getProperty
D. All of above
A. True
B. False
Q10. All servlet classes are required to be mapped and configured in web.xml.
A. Yes
B. No
Q11. What is Full form of JSTL?
A. Weblogic Server
B. Apache HTTP Server
C. WebSphere Server
D. Tomcat Server
A. page
B. include
C. export
D. useBean
A. HttpRequest
B. Request
C. HttpServletRequest
D. ServletRequest
Q16. Which method of the Component class is used to set the position and size of a
component in JSP?
A. setPosition()
B. setSizePosition()
C. setBounds()
D. etSize()
A. export
B. page
C. include
D. useBean
Q18. Which of the following action variable is used to include a file in JSP?
A. jsp:getProperty
B. jsp:include
C. jsp:setProperty
D. jsp:plugin
A. Class
B. Name
C. Scope
D. ID
A. <c:choose>
B. <c:set>
C. <c:param>
D. <c:forward>