多項(xiàng)選擇題

A custom tag is defined to take three attributes.
Which two correctly invoke the tag within a JSP page?()

A.<prefix:myTag a="foo" b="bar" c="baz" />
B.<prefix:myTag attributes={"foo","bar","baz"} />
C.<prefix:myTag jsp:attribute a="foo" b="bar" c="baz" />
D.<prefix:myTag><jsp:attribute name="a">foo</jsp:attribute><jsp:attribute name="b">bar</jsp:attribute><jsp:attribute name="c">baz</jsp:attribute>. </prefix:myTag>


您可能感興趣的試卷

你可能感興趣的試題

1.多項(xiàng)選擇題

You are developing several tag libraries that will be sold for development of third-party web applications.You are about to publish the first three libraries as JAR files: container-tags.jar,advanced-html-form-tags.jar, and basic-html-form-tags.jar.
Which two techniques are appropriate for packaging the TLD files forthese tag libraries?()

A.The TLD must be located within the WEB-INF directory of the JAR file.
B.The TLD must be located within the META-INF directory of the JAR file.
C.The TLD must be located within the META-INF/tld/ directory of the JAR file.
D.The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.
E.The TLD must be located within a subdirectory of META-INF directory of the JAR file.

3.單項(xiàng)選擇題Which security mechanism uses the concept of a realm?()

A.Authorization
B.Data integrity
C.Confidentiality
D.Authentication

4.單項(xiàng)選擇題Which basic authentication type is optional for a J2EE 1.4 compliant web container?()

A.HTTP Basic Authentication
B.Form Based Authentication
C.HTTP Digest Authentication
D.HTTPS Client Authentication