Tag: web technology

Questions Related to web technology

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
  1. Class

  2. Constructor

  3. Object

  4. a and b


Correct Option: C