0

web technology Online Quiz - 64

Description: web technology Online Quiz - 64
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

The tag has a performance overhead so you should reduce the scope where possible?

  1. True

  2. False


Correct Option: B

Is this valid JSF JSP code ?

  1. True

  2. False


Correct Option: B

Can we use updateActionListener in SelectBooleanCheckbox tag?

  1. True

  2. False


Correct Option: B

What property of the tag needs to be set to true in order to display only the messages that have not been associated with a component ?(enter the name, case sensitive)

  1. globalOnly

  2. id

  3. forceId

  4. rendered


Correct Option: A

The method processDecodesWithoutValidation(FacesContext context) forces all components to execute the Apply Request Values phase and return an error message to the client if a RuntimeException is thrown, but it does not process validation for immediate components.

  1. True

  2. False


Correct Option: A

What is the first entry point in the request processing life cycle of Struts 2 Framework

  1. Servlet

  2. Servlet Filter

  3. JSP

  4. None of The Above


Correct Option: B

How are html form input parameters passed in case of Struts 2

  1. ActionForm

  2. Action

  3. All of the Above

  4. None of the Above


Correct Option: B

What are the type of exceptions handled by Exception handler in Struts 2

  1. Unchecked

  2. Checked

  3. All of the Above

  4. None of the Above


Correct Option: A

To pass HttpServletRequest instance to Action, which of the following interfaces/Classes need to be implemented.

  1. ServletRequestAware

  2. ServletResponseAware

  3. ActionSupport

  4. All of them


Correct Option: A

Action Classes in Struts 2 have to extend ActionSupport.

  1. True

  2. False


Correct Option: B

Action classes have to extend ActionSupport for declarative validation in struts 2

  1. True

  2. False


Correct Option: B

In a struts 2 implementation, one of the name of the action is SampleAction and corresponding name of the Class is SampleClass. Please identify the correct validation xml name for the Action.

  1. SampleAction-validation.xml

  2. SampleClass-validation.xml

  3. All Of the above

  4. None of the above


Correct Option: B

Configuration file Name (struts.xml) can be changed in Struts 2 as was the case in Struts 1.

  1. True

  2. False


Correct Option: B

Action Classes in Struts 2 are instantiated on per request basis

  1. True

  2. False


Correct Option: A

Default interceptor stack containing validation interceptor, workflow inteceptor and others can be customized

  1. True

  2. False


Correct Option: A

Only value of which UI component can be validated?

  1. UIInput or component that extends UIInput

  2. UIOutput or component that extends UIOutput

  3. UICommand or component that extends UICommand

  4. UIOutputLink or component that extends UIOutputLink


Correct Option: A

A validator in JSF is only designed to validate one component, so in general just one field, and validating multiple fields is tricky.

  1. True

  2. False


Correct Option: A

JavaServer Faces technology provides standard error messages that display on the page when conversion or validation fails.

  1. True

  2. False


Correct Option: A

If an error occurs inside a convertor used to convert the value entered in a inputText field, than the isValid method of the field returns false.

  1. True

  2. False


Correct Option: A

Which section of the Config.Web file is used for storing a list of authorized users?

  1. Authentication

  2. Authorization

  3. Security Policy

  4. Prerequisition


Correct Option: B
- Hide questions