Icon image files can either be retrieved by Forms as individual files on the
filesystem or from a Java Archive (JAR file). If an application uses lots of
icon images it is recommended that they are stored in a JAR file to reduce the
number of HTTP round trips.
Steps to achieve this in a 9iDS/10gDS environments and are given below:
Oracle 9iDS/10gDS (Forms Builder / Runtime)
- Copy all the icons files (gif or jpg) to a folder e.g c:\icons folder
- Open up a MS Dos/ Command prompt window
- Change to the target icons folder
cd c:\icons
and jar the icon files
jar -cvf icons.jar * - Copy icons.jar to
\forms90\java
or
Copy icons.jar to\forms\java - Changes have to be made in formsweb.cfg
a) archive_jini=xxall_jinit.jar,icons.jar
b) imageBase=codeBase
This signifies that the jar file is placed under the forms90/java or forms/java
folder.
No comments:
Post a Comment