After your application run successfully on browser (like Internet Explorer, Safari, Netscape).
Step 1:
Open notepad and paste the code I've provided below.
<?xml version="1.0"
encoding="utf-8"?>
<!-- JNLP File to test webstart with Forms Application
-->
<jnlp spec="1.7+"
codebase="http://10.21.1.7:9001/forms/java">
<information>
<title>Test Form (Dev)</title>
<vendor>Oracle Corporation</vendor>
<description>Test Form (Dev) in
WebStart</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.7+"/>
<jar href="frmall.jar"/>
<jar href="frmwebutil.jar"/>
<!-- <jar href="jacob.jar"/> -->
</resources>
<applet-desc name="Test Form (Dev)"
main-class="oracle.forms.engine.Main" width="1"
height="1">
<param
name="height" value="100%" />
<param
name="width" value="100%" />
<param
name="serverURL"
value="/forms/lservlet?ifcfs=/forms/frmservlet?ifsessid=WLS_FORMS.formsapp.63&acceptLanguage=en-US&config=PSL"/>
<param
name="WebUtilArchive"
value="frmwebutil.jar,jacob.jar,icons.jar"/>
<param
name="baseSAAfile" value="webutilsaa.txt"/>
<param
name="WebUtilLogging" value="off"/>
<param
name="WebUtilLoggingDetail" value="normal"/>
<param
name="WebUtilErrorMode" value="Alert"/>
<param
name="WebUtilDispatchMonitorInterval" value="5"/>
<param
name="WebUtilTrustInternal" value="true"/>
<param
name="WebUtilMaxTransferSize" value="16384"/>
<param
name="baseHTML" value="webutilbase.htm"/>
<param
name="baseHTMLjpi" value="webutiljpi.htm"/>
<param
name="archive_jini" value="frmall_jinit.jar"/>
<param
name="archive"
value="frmall.jar,frmicons.jar,jacob.jar,frmwebutil.jar"/>
<param
name="lookAndFeel" value="Oracle"/>
<param
name="colorScheme" value="Blue"/>
<param
name="pageTitle" value="PSLCODE"/>
<param
name="webformsTitle" value="PSLCODE"/>
<param
name="logo" value="no"/>
</applet-desc>
</jnlp>
Step 2:
First, modify the I.P address in "codebase"
and then post. The IP address in my case is 10.21.1.7, and the port is 9001.
Second change highlight in “Config” enter your URL config name. In my case is “PSL”
Step 3:
Save this file with the extension of JNLP and run the file.
Output:
I hope it's helpful for you. If you have any queries regarding Java or Oracle, don't hesitate to contact me.
0 comments:
Post a Comment
If you have any doubts, please let me know. I will help you.