Creating a Jar File for Images Using Files Within the Jar File
4.7.4 Splash screen and Background Images
When you deploy your applications, you have the ability to specify a splash screen image displayed during the connection and a background image file. Those images are defined in the HTML file or you can use the Web Configuration page in Enterprise Manager: PARAM NAME=splashScreen VALUE=splash.gif PARAM NAME=background VALUE=back.gif The default location for the splash screen and background image files is in the DocumentBase directory containing the baseHTML file.4.7.5 Custom Jar Files Containing Icons and Images
Each time you use an icon or an image for a splash screen or background, an HTTP request is sent to the Web server. To reduce the HTTP round-trips between the client and the server, you have the ability to store your icons and images in a Java archive Jar file. Using this technique, only one HTTP round-trip is necessary to download the Jar file.4.7.5.1 Creating a Jar File for Images
The Java SDK comes with an executable called jar. This utility enables you to store files inside a Java archive. For more information, see http:java.sun.com . For example: jar -cvf myico.jar Splash.gif Back.gif icon1.gif This command stores three files Splash.gif, Back.gif, icon1.gif in a single Jar file called myico.jar. Registry.dat Applications with custom icons that are stored in a different location as the Oracle Forms install can be another server. Useful to make other changes to the Registry.dat file such as font mapping. Copy Registry.dat and change ServerApp parameter in formsweb.cfg. Note: Image formats for splash screens and icons are the standard formats that are supported by java.awt.Image. For more information on java.awt.Image, refer to the Java Advanced Imaging JAI API at http:java.sun.com . Table 4–20 Cont. Icon Location Guide Icon Location When How Configuring and Managing Forms Services 4-394.7.5.2 Using Files Within the Jar File
The default search path for the icons and images is relative to the documentBase. However, when you want to use a Jar file to store those files, the search path must be relative to the codebase directory, the directory which contains the Java applet. To use a Jar file to store icons and images, you must specify that the search path is relative to codebase using the imageBase parameter in the formsweb.cfg file or HTML file. This parameter accepts two different values: ■ documentBase The search path is relative to the documentBase directory. If no value is specified for imageBase, then the value of documentBase is used. ■ codeBase The search path is relative to the codeBase directory, which gives the ability to use Jar files. In this example, we use a JAR file containing the icons and we specify that the search should be relative to codeBase. If the parameter imageBase is not set, the search is relative to documentBase and the icons are not retrieved from the Jar file. For example formsweb.cfg: archive=frmall.jar, icons.jar imageBase=codeBase4.7.6 Search Path for Icons and Images
Parts
» Oracle Fusion Middleware Online Documentation Library
» Oracle Forms Developer Oracle Forms Services
» Oracle Database Oracle WebLogic Server Oracle Fusion Middleware
» Forms Listener Servlet Forms Runtime Process
» About Installing or Upgrading Oracle Forms Oracle Forms Services in Action
» default.env Oracle Forms Configuration Files
» Forms Java EE Application Deployment Descriptors Standard Fonts and Icons File baseHTML Files
» Deploying Your Application Application Deployment
» Default Behavior in the Current Release
» Accessing Forms Services with Fusion Middleware Control
» Common Tasks in the Web Configuration Page
» Managing Parameters Configuring Forms Services
» Basic Configuration Parameters Single Sign-On Configuration Parameters
» Trace Configuration Parameters Plug-in Configuration Parameters HTML Page Configuration Parameters
» Applet Configuration Parameters Forms Configuration Parameters
» Advanced Configuration Parameters Forms Configuration Parameters
» Managing Environment Configuration Files Configuring Environment Variables
» Managing User Sessions Oracle Fusion Middleware Online Documentation Library
» Securing the Oracle Forms Test Form
» Managing Registry.dat with Fusion Middleware Control Managing Application Fonts
» Creating a Jar File for Images Using Files Within the Jar File
» DocumentBase codebase Search Path for Icons and Images
» Example change: Swapping Enter and Execute Mappings Exceptions Special Key Mappings
» About the Oracle WebLogic Managed Server
» Prerequisite Steps Custom Deployment of Forms Java EE Application
» Override the Default Servlet Alias and the Context Root
» Expanding Forms Managed Server Clusters Registering Forms Java EE Applications
» Modification of Forms J2EE Application Deployment Descriptors
» Load Balancing Oracle WebLogic Server
» Enabling SSL with a Load Balancing Router
» Integrating JavaScript and Oracle Forms Configuration of formsweb.cfg
» Configuration of Environment Variables About Oracle Forms and Server Events
» About the When-Event-Raised Trigger About Trigger Definition Level and Scope
» Creating Events Subscribing to Events Publishing Database Events
» About Synchronous Communication About Asynchronous Communication
» ssoErrorURL ssoCancelUrl Enabling OracleAS Single Sign-On for an Application
» Proxy User Overview Enabling and Configuring Proxy Users
» Enabling Proxy User Connections
» Enabling SSO in formsweb.cfg Accessing the Forms Application Changes in Forms Built-ins
» OracleAS Single Sign-On Components Used By Oracle Forms Configuring Oracle Internet Directory
» About Multiple JVM Controllers JVM Pooling Usage Examples
» Re-importing Your Java Code About Sharing Static Variables Across Multiple JVMs
» JVM Controller Command Examples
» Click Delete. Deleting a Named Configuration
» Common Tasks in the JVM Configuration Page Managing Parameters
» Forms Configuration File Settings Startup Example
» Overview of JVM Configuration Integrating Forms and Reports JVM Pooling Error Messages
» Configuring Forms Trace Specifying URL Parameter Options
» Starting and Stopping Forms Trace
» Specifying Logging Specifying Logging Levels Using Fusion Middleware Control
» none session sessionperf perf
» debug Example Output for Each Level of Servlet Logging
» Upgrading Common Gateway Interface CGI to the Oracle Forms Servlet
» Upgrading the Forms 6i Listener to the Forms Listener Servlet
» Upgrading the Forms Listener Servlet Architecture to Oracle Forms Services
» Creating Forms Listener Servlet Alias Names Accessing the Listener Servlet Administration Page
» Configuring Prestart Parameters Forms Services Web Runtime Pooling
» Using Java Files Using Oracles Java Plug-in Using Caching
Show more