Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
261 views

Create Virtual Mapping For Forms 11g Deploy Images and Icons in Forms 11

This article describes two methods for deploying additional files in Oracle Forms 11g: 1) Creating a virtual directory mapping to deploy files like HTML pages by adding configuration to the weblogic.xml and Forms.conf files. 2) Deploying image and icon files by adding them to a JAR file and configuring the formsweb.cfg file to reference the JAR.

Uploaded by

Mohammed Gaber
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
261 views

Create Virtual Mapping For Forms 11g Deploy Images and Icons in Forms 11

This article describes two methods for deploying additional files in Oracle Forms 11g: 1) Creating a virtual directory mapping to deploy files like HTML pages by adding configuration to the weblogic.xml and Forms.conf files. 2) Deploying image and icon files by adding them to a JAR file and configuring the formsweb.cfg file to reference the JAR.

Uploaded by

Mohammed Gaber
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

http://www.exploreoracle.com/2010/04/10/create-virtual-mapping-for-forms-11g-deploy-images-and-icons-in-for...

Welcome to Oracle Reference to Oracle Technologies


Find

Home
Fusion MiddleWare 11g ADF & JDeveloper Forms 11g Installation Guide Reports 11g Oracle Database Oracle Database 10g Backup and Recovery DataBase Architecture Performance & Tuning Oracle Database 11g Application Development Oracle Forms & Reports 10g

Pages About Me Privacy Policy

BlogRoll
Reptile Pets Rabbit Pet Food poisoning symptoms Leukemia Symptoms Hepatitis Symptoms Diabetes Symptoms custom poker chips 10 Apr

Create Virtual Mapping for Forms 11g | Deploy Images and Icons in Forms 11g
This article explains virtual Directory Mapping for Forms 11g version 11.1.1.1.0. This mapped virtual directory can be used to deploy icons, images, HTML and other files. First part explains how to create virtual mapping to deploy an HTML file and second part explains how to deploy icons and images in Forms 11g. Create a directory as C:\myapp Now create an HTML file named MY.HTML and place it in C:\myapp directory. Now locate the file weblogic.xml in following directory $DOMAIN_HOME\servers\WLS_FORMS\stage\formsapp\11.1.1\formsapp\formsweb.war\WEB-INF\ Now add following line to weblogic.xml file <virtual-directory-mapping> <local-path>C:\myapp</local-path> <url-pattern>myapp/*</url-pattern>

http://www.exploreoracle.com/2010/04/10/create-virtual-mapping-for-forms-11g-deploy-images-and-icons-in-for...

http://www.exploreoracle.com/2010/04/10/create-virtual-mapping-for-forms-11g-deploy-images-and-icons-in-for...
</virtual-directory-mapping> Now open Forms.conf file which can be located at following location $ORACLE_INSTANCE\config\OHS\ohs1\moduleconf Add following two line in this file AliasMatch ^/forms/myapp/(..*) C:\myapp/$1 WLExcludePathOrMimeType /forms/mypp/ Now Restart HTTP server and open following URL Http://localhost:8090/forms/myapp/my.html If page is displayed, virtual mapping is successful. Note that virtual mapping for Forms 11.1.1.2 is not supported in this way. Deploy Images and Icons in Forms 11g Similarly mapped virtual directory can be used to deploy icons and images. To deploy icons or images do following. Add icons/images to a JAR file using following command <Oracle Home>\jdk\bin\jar cvf myAppIcons.jar *.gif Now place this myAppIcons.jar file to c:\myapp directory . Now modify formsweb.cfg file by adding following bold face words, archive=frmall.jar,/forms/myapp/myAppIcons.jar imageBase=codebase This JAR file can also be places in a pre-mapped directory like $ORACLE_HOME\forms\java. If you do not want to create JAR files of icons, you can directly place your icons in $ORACLE_HOME\forms\java directory Reference: Support.oracle.com (document id. 981095.1)
Forms 11g, Fusion MiddleWare 11g | RSS 2.0 | Respond | Trackback |

Leave a Reply
Name and Email Address are required fields. Your email will not be published or shared with third parties. Name * Email Address * Website
5

http://www.exploreoracle.com/2010/04/10/create-virtual-mapping-for-forms-11g-deploy-images-and-icons-in-for...

http://www.exploreoracle.com/2010/04/10/create-virtual-mapping-for-forms-11g-deploy-images-and-icons-in-for...
Submit Comment

Privacy Policy | Entries (RSS) | Comments (RSS)

http://www.exploreoracle.com/2010/04/10/create-virtual-mapping-for-forms-11g-deploy-images-and-icons-in-for...

You might also like