๐Ÿงช JSP MCQ Quiz Hub

JSP Fundamentals. (MCQs) Questions

Choose a topic to test your knowledge and improve your JSP skills

response is instance of which class?





โœ… Correct Answer: 3

If a jsp is to generate a xml page what attribute of page directive it should use?





โœ… Correct Answer: 4

Which of the following attributes are mandatory in <jsp:setProperty /> tag?





โœ… Correct Answer: 1

Which of the following attribute is used to have uncaught run-time exceptions automatically forwarded to an error processing page?





โœ… Correct Answer: 2

Which of the following method can be used to read a multiple values with same name for example check box selections?





โœ… Correct Answer: 3

Which of the following is true about autoFlush Attribute?A - B - C - Both of the above.D - Q 7 -





โœ… Correct Answer: 3

Which of the following is true about isThreadSafe Attribute?





โœ… Correct Answer: 4

Which of the following is true about <jsp:forward> action?





โœ… Correct Answer: 3

Which of the following is true about <c:url> tag





โœ… Correct Answer: 3

Which option is true about session scope?





โœ… Correct Answer: 2

The difference between Servlets and JSP is the …………….





โœ… Correct Answer: 3

Which of the following are the valid scopes in JSP?





โœ… Correct Answer: 1

JSP includes a mechanism for defining …………………………. or custom tags.





โœ… Correct Answer: 3

Which describes best an EJB handle?





โœ… Correct Answer: 2

Why DB connections are not written directly in JSPs?





โœ… Correct Answer: 4

How many jsp implicit objects are there and these objects are created by the web container that are available to all the jsp pages?





โœ… Correct Answer: 2

Which is not a directive?





โœ… Correct Answer: 3

Which attribute specifies a JSP page that should process any exceptions thrown but not caught in the current page?





โœ… Correct Answer: 1

Which http method send by browser that asks the server to get the page only?





โœ… Correct Answer: 1

DBC is a ………………… interface which means that it is used to invoke SQL commands directly





โœ… Correct Answer: 1

Which can generate HTML dynamically on the client but can hardly interact with the web server to perform complex tasks like database access and image processing etc. in JSP?





โœ… Correct Answer: 4

What is JDBC?





โœ… Correct Answer: 2

Dynamic interception of requests and responses to transform the information is done by





โœ… Correct Answer: 4

This is a software distribution model in which applications are hosted by a vendor or service provider and made available to customers over a network typically the Internet.





โœ… Correct Answer: 3

response is instance of which class?





โœ… Correct Answer: 3

If a jsp is to generate a xml page what attribute of page directive it should use?





โœ… Correct Answer: 4

Which of the following attributes are mandatory in <jsp:setProperty /> tag?





โœ… Correct Answer: 1

Which of the following attribute is used to have uncaught run-time exceptions automatically forwarded to an error processing page?





โœ… Correct Answer: 2

Which of the following is true about autoFlush Attribute?A - B - C - Both of the above.D - Q 7 -





โœ… Correct Answer: 3

Which of the following is true about isThreadSafe Attribute?





โœ… Correct Answer: 4

Which of the following is true about <jsp:forward> action?





โœ… Correct Answer: 3

Which of the following is true about <c:url> tag





โœ… Correct Answer: 3

Which option is true about session scope?





โœ… Correct Answer: 2

The difference between Servlets and JSP is the …………….





โœ… Correct Answer: 3

Which of the following are the valid scopes in JSP?





โœ… Correct Answer: 1

JSP includes a mechanism for defining …………………………. or custom tags.





โœ… Correct Answer: 3

Which describes best an EJB handle?





โœ… Correct Answer: 2

Why DB connections are not written directly in JSPs?





โœ… Correct Answer: 4

How many jsp implicit objects are there and these objects are created by the web container that are available to all the jsp pages?





โœ… Correct Answer: 2

Which is not a directive?





โœ… Correct Answer: 3

Which attribute specifies a JSP page that should process any exceptions thrown but not caught in the current page?





โœ… Correct Answer: 1

Which http method send by browser that asks the server to get the page only?





โœ… Correct Answer: 1

DBC is a ………………… interface which means that it is used to invoke SQL commands directly





โœ… Correct Answer: 1

Which can generate HTML dynamically on the client but can hardly interact with the web server to perform complex tasks like database access and image processing etc. in JSP?





โœ… Correct Answer: 4

What is JDBC?





โœ… Correct Answer: 2

Dynamic interception of requests and responses to transform the information is done by





โœ… Correct Answer: 4