Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







APEX JavaScript Directory Hierarchy on the HTTP Server

Oracle Tips by Burleson Consulting

JavaScript in the Directory Hierarchy on the HTTP Server

Putting the JavaScript source code in the script repository makes it reusable and it is easy to deploy in this manner, but we can still do better.  This next step is better because it allows the users web browser to cache the easy_java.js script locally.  That way the next time the same script is referenced it does not need to be downloaded to the users’ browser since it was downloaded previously.


The following explanation assumes you have access to the place files in the directory structure of the machine where the HTTP Server is running.  I also assume your images directory is the same as the path shown here:





What you need to do at this point is create a new directory named easy_htmldb under the images directory.


Then copy the easy_java.js script from the code depot directory to new easy_htmldb directory.  This places the file in the correct location for us to reference it from each of the application pages.  It also makes it available to all applications in all workspaces running from this HTTP Server.

To change the refenence in the HTML Header region of the Java Script page navigate back to the page attributes page and make the changes as shown in figure X.5.

Figure X.5 – Using Java Script from File System

The changes in figure X.5 involve the substitution string and a reference to the new easy_htmldb directory (shown in bold below).

<script src="#IMAGE_PREFIX#easy_htmldb/easy_java.js"


% You can reference the easy_java.js script directly from a browser with the following URL:


For more information on this topic, see the book "Easy Oracle HTML-DB Application Express ", the best book anywhere on expert APEX development:

APEX developer support:

For APEX development support just call to gat an Oracle Certified professional for all APEX development projects.


Easy Oracle HTML-DB Application Express
By Michael Cunningham & Kent Crotty

Only $27.95

Buy it now and get the code depot download




Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational