Oracle Application Express 5: Developing Web Applications — Question 55
Betty has created a zip file, app100_files.zip, to include all of her static application files that she references in her application. The files are divided into different subdirectories for JavaScript and CSS.
How can Betty upload the static files, so they can be referenced, and maintain the subdirectory structure?
Answer options
- A. Unzip app100_files.zip, and upload each directory individually.
- B. Upload app100_files.zip to the file server and unzip the file. In User Interface Properties, edit the Theme, and set JavaScript File URLs.
- C. In Shared Components, create the required subdirectories. Unzip app100_files.zip, and upload each file into their subdirectories.
- D. Upload app100_files.zip, and set Unzip File to Yes.
Correct answer: D
Explanation
The correct answer is D because uploading the zip file and setting Unzip File to Yes allows the server to automatically extract the files while preserving the original subdirectory structure. Options A and C require manual intervention for each directory, which is inefficient. Option B does not maintain the subdirectory structure as it suggests modifying the Theme without proper extraction.