| Exam Code/Number: | 1Z1-899Join the discussion |
| Exam Name: | Java EE 6 Web Component Developer Certified Expert Exam |
| Certification: | Oracle |
| Question Number: | 132 |
| Publish Date: | Oct 12, 2026 |
|
Rating
100%
|
|
A popular Ajax framework and its companion widget library contain several hundreds of files of different types (.js, .ess, .html). Your company has mandated that all its web applications use only specific versions of this framework approved by IT and repackaged internally as jar files. Furthermore, web applications should only include the entire jar, without subsetting or modification.
Where should the framework's files be placed inside a jar file to enable this kind of reuse?
To take advantage of the capabilities of modern browsers that use web standards, such as XHTML and CSS, your web application is being converted from simple JSP pages to JSP Document format. However, one of your JSPs, /scripts/screenFunctions.jsp, generates a JavaScript file. This file is included in several web forms to create screen-specific validation functions and are included in these pages with the following statement:
Which JSP code snippet declares that this JSP Document is a JavaScript file?
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?
During initialization, a servlet finds that the database connection it requires is unavailable. As the system designer, you know that the database start up completes several minutes after the web- container initializes the servlet. How should this be handled?
A method call inside your servlet has thrown an IOException resulting from a lost network connection to a necessary resource. The servlet has determined that it will be unable to operate successfully for a few minutes, but expects to be able to resume operation after that period. How should this situation handled?