- Home
- Oracle Certification
- 1Z0-858 Exam
- Oracle.1Z0-858.dumpsfiles Dumps
Free Oracle 1Z0-858 Exam Dumps Questions & Answers
| Exam Code/Number: | 1Z0-858Join the discussion |
| Exam Name: | Java Enterprise Edition 5 Web Component Developer Certified Professional Exam |
| Certification: | Oracle |
| Question Number: | 276 |
| Publish Date: | Oct 07, 2026 |
|
Rating
100%
|
|
Total 276 questions
Given the security constraint in a DD:
101.
<security-constraint>
102.
<web-resource-collection>
103.
<web-resource-name>Foo</web-resource-name>
104.
<url-pattern>/Bar/Baz/*</url-pattern>
105.
<http-method>POST</http-method>
106.
</web-resource-collection>
107.
<auth-constraint>
108.
<role-name>DEVELOPER</role-name>
109.
</auth-constraint>
110.
</security-constraint>
And given that "MANAGER" is a valid role-name, which four are true for this security constraint? (Choose four.)
Which two actions protect a resource file from direct HTTP access within a web application? (Choose two.)
In a JSP-centric shopping cart application, you need to move a client's home address of the Customer object into the shipping address of the Order object. The address data is stored in a value object class called Address with properties for: street address, city, province, country, and postal code. Which two JSP code snippets can be used to accomplish this goal? (Choose two.)
You have created a JSP that includes instance variables and a great deal of scriptlet code. Unfortunately, after extensive load testing, you have discovered several race conditions in your JSP scriptlet code. To fix these problems would require significant recoding, but you are already behind schedule. Which JSP code snippet can you use to resolve these concurrency problems?
Your IT department is building a lightweight Front Controller servlet that invokes an application logic object with the interface:
public interface ApplicationController {
public String invoke(HttpServletRequest request)
}
The return value of this method indicates a symbolic name of the next view. From this name, the Front Controller servlet looks up the JSP URL in a configuration table. This URL might be an absolute path or a path relative to the current request. Next, the Front Controller servlet must send the request to this JSP to generate the view. Assume that the servlet variable request is assigned the current HttpServletRequest object and the variable context is assigned the webapp's ServletContext.
Which code snippet of the Front Controller servlet accomplishes this goal?