Search⌘ K
AI Features

Quiz

Test your understanding of what you’ve learned so far about authentication methods.

We'll cover the following...
Technical Quiz
1.

Why do we add the attribute prependId="false" to the <h:form> tag?

A.

When prependId="false" is set, the input field names in the submitted request retain their original names (e.g., j_xxx) instead of being prefixed with the form ID (e.g., login.j_xxx). This is required by some specifications that expect field names like j_xxx.

B.

If you need the input field names in the submitted request to have a prefix (e.g., login.j_xxx), you would not set prependId="false".

C.

With prependId="false", the input field names will not become j_xxx.login; this is not the typical form used for specification compliance.

D.

h:form.j_xxx is not the expected field name format for the specification; setting prependId="false" prevents that prefix from being added.


1 / 4