SUN Sun Certified Web Component Developer for J2EE 5 - 310-083무료 덤프문제 풀어보기

Which JSP standard action can be used to import content from a resource called foo.jsp?

정답: A
A developer is designing a web application that must verify for each request:
The originating request is from a trusted network.
The client has a valid session.
The client has been authenticated.
Which design pattern provides a solution in this situation?

정답: D
Given this fragment in a servlet:
2 3. if(req.isUserInRole("Admin")) {
2 4. // do stuff
2 5. }
And the following fragment from the related Java EE deployment descriptor:
8 12. <security-role-ref>
8 13. <role-name>Admin</role-name>
8 14. <role-link>Administrator</role-link>
8 15. </security-role-ref>
9 00. <security-role>
9 01. <role-name>Admin</role-name>
9 02. <role-name>Administrator</role-name>
9 03. </security-role>
What is the result?

정답: C
Given this fragment from a Java EE deployment descriptor:
3 41. <error-page>
3 42. <exception-type>java.lang.Throwable</exception-type>
3 43. <location>/mainError.jsp</location>
3 44. </error-page>
3 45. <error-page>
3 46. <exception-type>java.lang.ClassCastException</exception-type>
3 47. <location>/castError.jsp</location>
3 48. </error-page>
If the web application associated with the fragment above throws a ClassCastException.
Which statement is true?

정답: A
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?

정답: B
You need to create a servlet filter that stores all request headers to a database for all requests to the web application's home page "/index.jsp". Which HttpServletRequest method allows you to retrieve all of the request headers?

정답: A
Your web application requires the ability to load and remove web files dynamically to the web container's file system. Which two HTTP methods are used to perform these actions?
(Choose two.)

정답: A,F
Which basic authentication type is optional for a J2EE 1.4 compliant web container?

정답: D
A developer is designing a multi-tier web application and discovers a need to log each incoming client request. Which two patterns, taken independently, provide a solution for this problem? (Choose two.)

정답: C,F
Given:
1 1. <servlet>
1 2. <servlet-name>catalog</servlet-name>
1 3. <jsp-file>/catalogTemplate.jsp</jsp-file>
1 4. <load-on-startup>10</load-on-startup>
1 5. </servlet>
Which two are true? (Choose two.)

정답: A,C

우리와 연락하기

문의할 점이 있으시면 메일을 보내오세요. 12시간이내에 답장드리도록 하고 있습니다.

근무시간: ( UTC+9 ) 9:00-24:00
월요일~토요일

서포트: 바로 연락하기 

English Deutsch 繁体中文 日本語