Filters
Question type

Study Flashcards

Which of the following methods is overridden by Action class?


A) execute()
B) service()
C) run()
D) destroy()

Correct Answer

verifed

verified

In JSP Action tags which tags are used for bean development?


A) jsp:useBean
B) jsp:setPoperty
C) jsp:getProperty
D) All mentioned above

Correct Answer

verifed

verified

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?


A) vs. Static HTML
B) vs. Server-Side Includes
C) vs. Pure Servlets
D) Vs. JavaScript

Correct Answer

verifed

verified

Application module selection is done by


A) Action class
B) ActionServlet
C) RequestProcessor
D) All of the above

Correct Answer

verifed

verified

Struts framework


A) should always decouple the application from a specific model implementation
B) provides model components
C) does not support JavaBeans and EJB
D) has built-in support for the model

Correct Answer

verifed

verified

Which of the following tags in struts-config. xml file defines the availability of necessary Struts JSP custom tag libraries?


A) < jsp-lib>
B) < struts-taglib>
C) < taglib>
D) < jsp-taglib>

Correct Answer

verifed

verified

C

JavaScript RegExp Object has modifier 'i' to __________


A) Perform case-sensitive matching
B) Perform case-insensitive matching
C) Perform both case-sensitive&case-insensitive matching
D) None of above

Correct Answer

verifed

verified

Which attribute is used to hold the Java Script Version?


A) SCRIPT
B) VERSION
C) LANGUAGE
D) VER

Correct Answer

verifed

verified

How many ServletContext objects are available for an entire web application?


A) One each per servlet
B) One each per request
C) One each per response
D) Only one

Correct Answer

verifed

verified

Which of the following delegates the request handling to the RequestProcessor instance?


A) ActionServlet
B) Action class
C) Deployment descriptor
D) None of the above

Correct Answer

verifed

verified

What technique is used for the authentication mechanism in the servlet specification?


A) Role Based Authentication
B) Form Based Authentication
C) Both A & B
D) None of the above

Correct Answer

verifed

verified

Which of the following types of Enterprise Java Bean will be most likely to be difficult to port from one App Server to another?


A) Stateful Session Beans
B) Stateless Session Bean
C) BMP (Bean Managed Persistence) Entity Bean
D) CMP (Container Managed Persistence) Entity Bean

Correct Answer

verifed

verified

D

How many instances can be created per application module by the RequestProcessor class?


A) Four
B) Three
C) One
D) Uncountable instances

Correct Answer

verifed

verified

Which of the following is an advantage of the statement - Separation of business logic from JSP?


A) Custom Tags in JSP
B) JSP Standard Tag Library
C) All the above
D) None of the above

Correct Answer

verifed

verified

A

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


A) The ErrorPage Attribute
B) The IsErrorPage Attribute
C) Both A & B
D) None of the above

Correct Answer

verifed

verified

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


A) 8
B) 9
C) 10
D) 7

Correct Answer

verifed

verified

Which of the following acts as a bridge between user-invoked URI and a business method?


A) HttpRequest
B) Action class
C) ActionServlet
D) RequestProcessor

Correct Answer

verifed

verified

JavaServer Pages often serve the same purpose as programs implemented using the Common Gateway Interface (CGI)


A) True
B) False
C) none
D) all

Correct Answer

verifed

verified

Which statement correctly identifies the goals of the designers of the EJB architecture?


A) The EJB architecture requires that users be aware of the low-level transaction details of the Java EE platform.
B) The EJB architecture is the standard component architecture for building distributed business applications in the Java programming language. ()
C) Although the EJB architecture defines the contracts that enable tools to develop and deploy components, each application server vendor must produce its own set of additional tooling.
D) The EJB architecture provides a standard way of persisting state data using the Java Persistence API, Java Data Objects, and JDBC.

Correct Answer

verifed

verified

Which action tags are used in JSP for developing web application with Java Bean?


A) jsp:useBean
B) jsp:setProperty
C) jsp:getProperty
D) Both B & C

Correct Answer

verifed

verified

Showing 1 - 20 of 25

Related Exams

Show Answer