How to call html webpage from forms 9i
Dear friend,
I have installed oracle 9i Forms and have developed an application wherein, the first page is in html and from there goes to my application. Everything works well except when i exit from the forms it should go to the html page but instead a blank webpage on runtime occurs. Please tell how to get it done.
When i installed oracle 9i forms to single dedicated server, on runtime it displays nothing instead asking atlease one computer to be connected through network and ie displays Offline not connected to internet explorer. How could I work on forms 9i without getting connected to network and use runtime on webpage.
Hi,
you can use a post form trigger and call web.show_document('URL Here','_this');
Frank
Similar Messages
-
How to call HTML file from forms 6i
Please can any one told me how i can call HTML file placed in my computer in specific path from forms 6i
i tried web.show_Document('file path','_blank');
but it doesn't work with me i don't know why and it doesn't give me any error
thanksthanks you for your reply
but it still not working with me
i tried this
host('iexplore C:\PPF\UserManual\index.htm');
is it true, any advice -
How to Call HTML Layers from Flash?
how to Call HTML Layers from Flash? i need a help on example
or script.What do you mean html layers? You can call JavaScript on the
page using the
ExternalInterface class. There's examples in Help if you look
up the EI
class, and it's call method.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
How to call Java class from Forms 6i?
Hi friends,
I need to call a Java class from my Forms 6i application.
(It runs under WIndows XP. It's a client/server application and I have only the client and the Form builder installed on my PC)
I don't know almost anything about Java's world so your help would be very useful for me.
Could you tell me exactly what i have to do?
I've read in metalink several Notes, but they supposed that the Java architecture is already installed in the computer.... I only have the default installation of Developer 6i... so I would need to know:
- How to install/configure the neccesary to execute Java classes without problem
- How to invoke the .class from Forms 6i.
Thanks a lot
Jose.And also this one:
Problem Description
Installed Forms 6i Rel 2 on a MS Windows machine. When trying to Import the Java
Classes getting the errors
PDE-UJI0001 Failed to create the JVM
Solution Description
You need to to install JDK 1.2.2 to run the Java Importer. And set the PATH's
and classpath's correctly.
Explanation
1. Download and install the JDK 1.2.2.
Possibly available at: http://java.sun.com/products/archive/
2. Assuming the JDK 1.2.2 is installed in c:\jdk1.2.2 directory and the JRE in
C:\PROGRA~1\JAVASOFT\JRE\1.2 directory; ORACLE_HOME=C:\Dev6iR2.
Set the PATH to
set PATH=c:\jdk1.2.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin\classic;%PATH%
( If you are using ias9i then the JDK 1.2.2 comes with the ias installtion ,
in this case please set the PATH to
D:\ias9i\Apache\jdk\bin;D:\ias9i\Apache\jdk\jre\bin;D:\ias9i\Apache\jdk\jre\bin\classic;%PATH% )
3. Set the CLASSPATH to set CLASSPATH=%CLASSPATH%;C:\Dev6iR2\TOOLS\COMMON60\JAVA\IMPORTER.JAR;.
(If you do not set the CLASSPATH correctly you will get the error
PDE-UJI002 Unable to find the required java importer classes)
4. Now run the Forms Builder by using the command.
C:\Dev6iR2\bin\ifbld60.exe
Now the Java Importer Should Run fine.
Francois -
How to call a URL from forms ?
Dear All,
I would like to invoke / call a URL from forms. I know we can make a call Using Web.show_document. But this will execute in a browser.
What i need to do is, i have to send a request to by calling an URL, that should not visible to any body.
This is my requirement, please help if you know.
Thanks
Balajihi,
here is a quick example : (data from url returns as a clob. you need to write it at db. and call from forms.)
FUNCTION Get_DataFromUrl(pUrl IN VARCHAR2,pProxy IN VARCHAR2,pData IN OUT CLOB) RETURN NUMBER IS
vRcv UTL_HTTP.HTML_PIECES;
vData CLOB;
eNoDataReceived EXCEPTION;
BEGIN
UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(TRUE);
-- Get data pieces from Url
vRcv := UTL_HTTP.REQUEST_PIECES(pUrl,Proxy => pProxy);
IF vRcv.COUNT < 1 THEN
RAISE eNoDataReceived;
ELSE
-- Append varchar2 table data into clob variable
DBMS_LOB.CreateTemporary(vData,FALSE,DBMS_LOB.CALL);
FOR i IN 1..vRcv.COUNT LOOP
DBMS_LOB.WriteAppend(vData,LENGTH(vRcv(i)),vRcv(i));
END LOOP;
-- Copy local data into return variable
DBMS_LOB.Copy(pData,vData,DBMS_LOB.GetLength(vData));
DBMS_LOB.FreeTemporary(vData);
END IF;
RETURN SUCCESS;
EXCEPTION
WHEN eNoDataReceived THEN
RETURN FAILURE;
WHEN UTL_HTTP.INIT_FAILED THEN
RETURN FAILURE;
WHEN UTL_HTTP.Request_Failed THEN
RETURN FAILURE;
WHEN OTHERS THEN
RETURN FAILURE;
END Get_DataFromUrl;
hope this helps.
Engin. -
How to Call Image Viewer from Form application
Hi,
how to call Image viewer using host command on oracle form 6i.
i trying using host command on local/client application .. and it is working ...
but when i try on server application (EBS - UNIX) it does not working ...
thanks ..
regards,
safarAre you using Forms 6i in client/server mode or web deployed? I'm not sure what you mean by 'try on server application"
Remember that when using a web deployed architecture, a host command will execute the command on the Forms application server, NOT on the client.
To execute host commands on the client you would have to use WebUtil, but that's not available for Forms 6i. Perhaps there are PJC's out there that can do it for you, but I don't want to get in all those details without me knowing if it is relevant for you. -
Calling html file from Forms 10g
Hi,
I am working in forms 10.1.2.0.2 in the unix server. I have a push button in which I'm creating a html file as under:
MYFILE := TEXT_IO.FOPEN('/tmp/ab.html','W');
When I click the push button, the above file gets created in the tmp directory. But it does not open. Could someone please let me know how to get it to view from my forms. I am using the following command but its not working:
WEB.SHOW_DOCUMENT('http://formsserver:port/test_virtual_dir/ab.html','_BLANK');
Thankshmm....
I assume you have 10g AS installed in Unix.
Go to $ORACLE_HOME/forms/server
edit the forms.conf with your virtual directory values similar to
AliasMatch ^/forms/java/(..*) "/opt/oracle/product/10gas/forms/java/$1
And to test without any virtual configuration , I would try writing the html file to the folder "/opt/oracle/product/10gas/forms/java" and use
http://www.Alexyscorp.com/forms/java/myfile.htm
Also note that u might need to add the hostname as a trusted site otherwise new version of IE wont allow to open.
Rajesh ALex -
How to call a report from form in developer suite 10g
i want to call report from a form that is developed in Builder 10g. Reprot is also built in Reports Builder 10g. I now want to run report through form.Please give me any solution.
I am finding that this document is unhelpful also with respect to running a form which calls the report in the testing environment of Oracle Developer Suite. I have Googled for forms integration with reporting and most refer to this document, but it does not help.
I have download and used the "run_report_object_doc" procedure they provided, along with a supporting function. And used that.
This document indicates that if the sever is not specified then it will use the in-process server. This does not happen. When I do not specify the server I get the notorious "FRM-41211: Integration error: SSL failure running another product." I suspected that the in-process server is not getting called.
When I look through the rwservlet.properties file I find that the servlet is configured with in=process "yes". I have since changed this file so that a server is actually named. I called it "local".
This time a local.conf file is created, not a rep_local.conf file as indicated in the documentation. Anyhow when I try the form again I get the same FRM-41211 message.
Alternatively, I have change the report invocation parameters to supply a server name "local". This time I no longer get the FRM-41211 message. I get the error FRM-41214: Unable to run report.
When I use the servlet to get information, I get (can anyone see any setting that is a problem?):
http://localhost:8889/reports/rwservlet/showenv?server=local
OracleAS Reports Services - Servlet Environment Variables Return to Top
KeyMapFile C:\DevSuiteHome_1\reports\conf\cgicmd.dat
DBAUTH C:\DevSuiteHome_1\reports\templates\rwdbauth.htm
SYSAUTH C:\DevSuiteHome_1\reports\templates\rwsysauth.htm
server local
DIAGNOSTIC yes
traceopts undefined
ERRORTEMPLATE C:\DevSuiteHome_1\reports\templates\rwerror.htm
SERVER_IN_PROCESS yes
COOKIEEXPIRE 30
ENCRYPTIONKEY reports9i
DIAGHEADTAGS undefined
DIAGBODYTAGS undefined
HELPURL undefined
RELOAD_KEYMAP NO
IMAGEURL http://localhost:8889/reports/rwservlet
SINGLESIGNON yes
OracleAS Reports Services - Server and Engine Environment Variables Return to Top
PATH C:\DevSuiteHome_1\jdk\jre\bin\client;C:\DevSuiteHome_1\jlib;C:\DevSuiteHome_1\bin;C:\DevSuiteHome_1\jre\1.4.2\bin\client;C:\DevSuiteHome_1\jre\1.4.2\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\oracle\product\10.2.0\client_1\bin;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\CAisd\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\ZipGenius 6\;c:\Program Files\CA\SharedComponents\ScanEngine;C:\PROGRA~1\CA\ETRUST~2;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\PROGRA~1\CA\SHARED~1\CAM\bin;C:\Program Files\CA\SharedComponents\ScanEngine;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Program Files\CA\eTrustITM;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\Microsoft Office\Office10;C:\Program Files\CA\DSM\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\DevSuiteHome_1\jdk\jre\bin
DISPLAY
LD_LIBRARY_PATH
ORACLE_HOME C:\DevSuiteHome_1
TNS_ADMIN
NLS_LANG AMERICAN_AMERICA.WE8MSWIN1252
USER_NLS_LANG
RW C:\DevSuiteHome_1\reports
REPORTS_PATH C:\DevSuiteHome_1\repadm61\srw;C:\DevSuiteHome_1\cgenr61\admin\crretc;C:\DevSuiteHome_1\cgenr61\admin;C:\DevSuiteHome_1\reports\templates;C:\DevSuiteHome_1\reports\samples\demo;C:\DevSuiteHome_1\reports\integ;C:\DevSuiteHome_1\reports\printers;
REPORTS_TMP C:\Temp
REPORTS_TAGLIB_URI /WEB-INF/lib/reports_tld.jar
java.class.path C:\DevSuiteHome_1\j2ee\home\lib\ojsp.jar;C:\DevSuiteHome_1\reports\jlib\rwrun.jar;C:\DevSuiteHome_1\jlib\zrclient.jar
sourceDir
tempDir
useDataCache
ignoreDataParameter -
How to call html page from an applet
I want to call a html page after the user presses a OK button in the applet. please help me in this.
In you actionPerformed put:
AppletContext appContext=getAppletContext();
URL myURL= new URL("http://www.javasoft.com");
String target="_self";
appContext.showDocument(myURL,target);P.S. If you want to pen the URL in a new Browser window
use
target="_blank"; -
How to call web services from HTML
Hi All,
Does anybody have an idea on how to call web services from HTML using axis and i am using jboss-4.0.5 as the application server.What did your Google search return?
-
Call Oracle Reports from Forms ver 9i or 10g
Hi,
Can somebody guide me, how to call Oracle Reports from the Oracle form 9i,
Run_product is no more available into 9i & 10g, Run_report_object is not working with out put type "Screen" or "preview".
What is the best way to call the reports from the form ??? pls help...
Thanks in avdance.
Jitesh ([email protected])You can use RUN_REPORT_OBJECT with CACHE type, and WEB.SHOW_DOCUMENT to view the document on the screen.
In the Forms help you should find examples.
If you have access to Metalink, have a look at Note:207396.1. -
Calling a report from forms with a paramter form
Hello,
How do you call a report from forms and get it to display the parameter form. Where you can then call the report using this parameter form. I have been using paramform=yes. but it simply runs the form.
I saw on a a thread ages ago that this was a sample of this available for download. Is this true?
thanksHere is my code sorry about posting twice. Please note that the parameter list has been created as described.
report_id := find_report_object('MENU_REPORT_NODE');
Tool_Env.Getvar('ReportsServer', reports_server);
Tool_Env.Getvar('ReportsFolder', reports_folder);
dest_file := reports_folder || :global.username || '\' || rep_name || '.pdf';
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_FILENAME, rep_name);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, reports_server);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS); -- wait for the report to finish
-- SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESNAME, dest_file);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, cache);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'PDF');
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_OTHER, 'paramform=yes' || ' ' || 'mode=bitmap');
report_job := run_report_object(report_id); -
How TO CALL c++ EXECUTABLE FROM XI(VERY iMPORTANT)
hI ALL
pLEASE DO GIVE SUGGESTIONS AND DOCCUMENTATION LINKS THAT <b>HOW TO CALL c++ EXECUTABLE FROM XI</b> .THIS IS VERY IMPORTANT AND YOUR HELP WILL BE REWARDED.
WITH REGARDS
SUBRATO KUNDUHi Subrato,
AFAIK you can call C / C++ methods in Java using Java Native Interface (JNI).
Please refer the following links for how to do the same.
<a href="http://www.nag.com/IndustryArticles/CallingCLibraryRoutinesfromJava.pdf">For C:</a>
<a href="http://www.javaworld.com/javaworld/javatips/jw-javatip17.html">For C++:</a>
Regards,
Ananth -
How to call JSP page from applet?
I have some page1.jsp from which I call applet.
User works with this applet but some information does not in date inside applet.
So user click on some component at applet (some button etc.) and now I would like to do this:
1) open new window;
2) call page2.jsp at this new window.
The reason is that page2.jsp will read some data from database and then displays it in HTML inside page2.jsp itself. It is not necessary to pass these date back to applet for displaying them inside of applet.
So user then can have 2 windows: page1.jsp with applet and page2.jsp with some details information.
But I DO NOT know how to call page2.jsp from applet, and do ti in a new window. Is it possible and how?
Thanks
Mirekimport java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MainMenu extends JApplet implements ActionListener
private JMenuBar mbar;
private JMenu Master,Leave,Report,Logout;
private JMenuItem UserMaster,DeptMaster,DesignationMaster,LeaveAvailable,LeaveApply,Generate;
private JPanel jp;
public void init()
mbar=new JMenuBar();
Master=new JMenu("Master");
Leave=new JMenu("Leave");
Report=new JMenu("Report");
Logout=new JMenu("Logout");
UserMaster=new JMenuItem("UserMaster");
UserMaster.setMnemonic('U');
DeptMaster=new JMenuItem("DeptMaster");
DeptMaster.setMnemonic('D');
DesignationMaster=new JMenuItem("DesignationMaster");
DesignationMaster.setMnemonic('D');
LeaveAvailable=new JMenuItem("LeaveAvailable");
LeaveAvailable.setMnemonic('L');
LeaveApply=new JMenuItem("LeaveApply");
LeaveApply.setMnemonic('L');
Generate=new JMenuItem("Generate");
Generate.setMnemonic('G');
Master.add(UserMaster);
Master.add(DeptMaster);
Master.add(DesignationMaster);
mbar.add(Master);
Leave.add(LeaveAvailable);
Leave.add(LeaveApply);
mbar.add(Leave);
Report.add(Generate);
mbar.add(Report);
mbar.add(Logout);
UserMaster.addActionListener(this);
DeptMaster.addActionListener(this);
DesignationMaster.addActionListener(this);
LeaveAvailable.addActionListener(this);
LeaveApply.addActionListener(this);
Generate.addActionListener(this);
Logout.addActionListener(this);
mbar.setVisible(true);
Container con=getContentPane();
con.add(mbar,BorderLayout.NORTH);
public void actionPerformed(ActionEvent ae){
if(ae.getSource()==UserMaster)
} -
How to call HTML page through JSP ?
i want to know Hw to call Automaticly a HTML page through JSP.
example :-
have u seen yahoo login wen u put your ID & pass & Clock on login button it will chack ID & pass in the database & if it is correct then It will call A Mail Home Page.
that's same i want to do.
i have a jsp page which chacks the userID & Pass & call the first.html page
but i dont know how to call html page automaticly.
Any one can help me
what i think is this
tell me is it right or not
suppose i have made a variable
String add = "first.html"
after chacking userID & pass
if(idpass == true)
add;
if(idpass == false)
erre;
it will work or not pl tell meIf you do the redirect with javascript, the user cannot resubmit his login when he presses the refresh button. When he does press refresh, he only refreshes the redirect, not the form post that was before it. When he presses back the redirect will also kick him back in stead of going back to the login page. A simple javascript redirect page would look like this:
<html>
<body onload="document.location.href='myhtmlpage.htm';">
</body>
</html>But that is only if you care about resubmits of course.
Maybe you are looking for
-
Canon 6D will not focus or flash in "Live View" mode.
My Canon 6D will not focus or flash in "Live View" mode. I have a canon 430ex II and a E-ttl flash connected with a sync cord for E-ttl function. The camera does simulate shutter action, but no photo is taken. How can I over-come this problem. O
-
How to download presets for adobe softwares in CC
How to download presets for adobe softwares in CC
-
Checkin error with sql server as backend database
Hello, I get regulary the following error messages (attached as screenshot) when I'm try to checkin my current model. The message states, that my database is in single user mode, but this isn't the case. I checked the many times. My repository databa
-
Material Creation date at Plant Level
Hi All, I am not able to get the date when the material was extended for a new plant . Please help me . regards, Sukant
-
How to uninstall Adobe CS6 Mac an keep CS6 Win on parallel desktop?
Hi, I´m using parallel desktop. I have installed Adobe CS6 for Win with a licence. I downloaded recently a 30 days trial period of CS6 for Mac. Now the trial period has ended. When I want to use my Win version, I am told that the trial period has exp