최신SUN Sun Certified Web Component Developer for J2EE 5 - 310-083무료샘플문제
문제1
In which two locations can library dependencies be defined for a web application? (Choose two.)
In which two locations can library dependencies be defined for a web application? (Choose two.)
정답: C,D
문제2
Click the Exhibit button.
Assuming the tag library in the exhibit is imported with the prefix forum, which custom tag invocation produces a translation error in a JSP page?

Click the Exhibit button.
Assuming the tag library in the exhibit is imported with the prefix forum, which custom tag invocation produces a translation error in a JSP page?

정답: A
문제3
Your web application views all have the same header, which includes the <title> tag in the
< head> element of the rendered HTML. You have decided to remove this redundant HTML code from your JSPs and put it into a single JSP called /WEB-INF/jsp/header.jsp.
However, the title of each page is unique, so you have decided to use a variable called pageTitle to parameterize this in the header JSP, like this:
10. <title>${param.pageTitle}<title>
Which JSP code snippet should you use in your main view JSPs to insert the header and pass the pageTitle variable?
Your web application views all have the same header, which includes the <title> tag in the
< head> element of the rendered HTML. You have decided to remove this redundant HTML code from your JSPs and put it into a single JSP called /WEB-INF/jsp/header.jsp.
However, the title of each page is unique, so you have decided to use a variable called pageTitle to parameterize this in the header JSP, like this:
10. <title>${param.pageTitle}<title>
Which JSP code snippet should you use in your main view JSPs to insert the header and pass the pageTitle variable?
정답: A
문제4
Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A's web application. In which object can the data that A shares with B be stored?
Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A's web application. In which object can the data that A shares with B be stored?
정답: A
문제5
You need to store a Java long primitive attribute, called customerOID, into the session scope. Which two code snippets allow you to insert this value into the session? (Choose two.)
You need to store a Java long primitive attribute, called customerOID, into the session scope. Which two code snippets allow you to insert this value into the session? (Choose two.)
정답: A,D
문제6
What is true about Java EE authentication mechanisms?
What is true about Java EE authentication mechanisms?
정답: D
문제7
A developer is designing a web application that makes many fine-grained remote data requests for each client request. During testing, the developer discovers that the volume of remote requests significantly degrades performance of the application. Which design pattern provides a solution for this problem?
A developer is designing a web application that makes many fine-grained remote data requests for each client request. During testing, the developer discovers that the volume of remote requests significantly degrades performance of the application. Which design pattern provides a solution for this problem?
정답: A
문제8
The JSP developer wants a comment to be visible in the final output to the browser. Which comment style needs to be used in a JSP page?
The JSP developer wants a comment to be visible in the final output to the browser. Which comment style needs to be used in a JSP page?
정답: B
문제9
Which two are characteristics of the Intercepting Filter pattern? (Choose two.)
Which two are characteristics of the Intercepting Filter pattern? (Choose two.)
정답: B,D
문제10
Assume the tag handler for a st:simple tag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?
Assume the tag handler for a st:simple tag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?
정답: A