Java EE 6 Web Component Developer Certified Expert

Here you have the best Oracle 1z0-899 practice exam questions

  • You have 108 total questions to study from
  • Each page has 5 questions, making a total of 22 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on October 26, 2025
  • This site is not affiliated with or endorsed by Oracle.
Question 1 of 108
Given the element from the web application deployment descriptor:
<jsp property group>
<url pattern>/main/page1.jsp</url pattern>
<scripting invalid>true</scripting invalid>
</jsppropertygroup>
And given that /main/page1.jsp contains:
<% int i = 12; %>
<b> <%= i %> </b>
What is the result?
    Correct Answer: C

Question 2 of 108
You are building a dating service web site. Part of the form to submit a client's profile is a group of radio buttons for the person's hobbies:
20. <input type = radio name = hobbyEnum value = HIKING> Hiking <br>
21. <input type = radio name = hobbyEnum value = SKING> Sking <br>
22. <input type = radio name = hobbyEnum value = SCUBA> SCUBA <br>
23. <! - - and more options - - >>
After the user submits this form, a confirmation screen is displayed with these hobbies listed. Assume that an application-scoped hobbies, holds a map between the hobby enumerated type and the display name.
Which EL code snippet will display Nth element of the user's selected hobbles?
    Correct Answer: B

Question 3 of 108
Given:
1. <% int[] nums = {42,420,4200};
2. request.setAttribute("foo", nums); %>
3. ${5 + 3 It 6}
4. S(requestScope['foo'][0] ne 10 div0>
5. ${10 div 0}
What is the result?
    Correct Answer: E

Question 4 of 108
You are building a web application with a scheduling component. On the JSP, you need to show the current date, the date of the previous week, and the date of the next week.
To help you present this information, you have created the following EL functions in the d namespace:
✑ Name : curData; signature: java.util.utilDate CurrentDate()
✑ Name : curData; signature: java.util.utilDate addweek (java.util.Date, int)
✑ Name: dateString; signature: java.util.String getDataString (jave.util.Data)
Which EL code snippet will generate the string for the previous week?
    Correct Answer: D

Question 5 of 108
Given a header in an HI IP request:

X-Retries: 4 -
A Which two retrieve the value of the header from a given HttpServletRequest request? (Choose two)
    Correct Answer: A, B