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: | Nov 16, 2026 |
| # of views: | 3336 |
|
|
|
You have created a servlet that generates weather maps. The data for these maps is
calculated by a remote host. The IP address of this host is usually stable, but occasionally does have to change as the corporate network grows and changes. This IP address used to be hard coded, but after the fifth change to the IP address in two years, you have decided that this value should be declared in the deployment descriptor so you do NOT have the recompile the web application every time the IP address changes. Which deployment descriptor snippet accomplishes this goal?
Which three are valid values for the body-content attribute of a tag directive in a tag file? (Choose three.)
If you want to use the Java EE platform's built-in type of authentication that uses a custom HTML page for authentication, which two statements are true? (Choose two.)
Given:
3.class MyServlet extends HttpServlet {
4.public void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
5.// servlet code here ...
26.
}
27.
}
If the DD contains a single security constraint associated with MyServlet and its only <httpmethod> tags and <auth-constraint> tags are:
<http-method>GET</http-method>
<http-method>PUT</http-method>
<auth-constraint>Admin</auth-constraint>
Which four requests would be allowed by the container? (Choose four.)

