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 |
| Free Question Number: | 276 |
| Publish Date: | Oct 04, 2026 |
| # of views: | 3201 |
|
|
|
Your web application uses a simple architecture in which servlets handle requests and then forward to a JSP using a request dispatcher. You need to pass information calculated in the servlet to the JSP for view generation. This information must NOT be accessible to any other servlet, JSP or session in the webapp. Which two techniques can you use to accomplish this goal? (Choose two.)
Which two are valid values for the <transport-guarantee> element inside a <securityconstraint> element of a web application deployment descriptor? (Choose two.)
A developer has created a special servlet that is responsible for generating XML content that is sent to a data warehousing subsystem. This subsystem uses HTTP to request these large data files, which are compressed by the servlet to save internal network bandwidth. The developer has received a request from management to create several more of these data warehousing servlets. The developer is about to copy and paste the compression code into each new servlet. Which design pattern can consolidate this compression code to be used by all of the data warehousing servlets?
Given:
1.<% int[] nums = {42,420,4200};
2.request.setAttribute("foo", nums); %>
3.${5 + 3 lt 6}
4.${requestScope['foo'][0] ne 10 div 0}
5.${10 div 0}
What is the result?
A web browser need NOT always perform a complete request for a particular page that it suspects might NOT have changed. The HTTP specification provides a mechanism for the browser to retrieve only a partial response from the web server; this response includes information, such as the Last-Modified date but NOT the body of the page. Which HTTP method will the browser use to retrieve such a partial response?