Close Browser window when you close 10g forms

Help Please.... I am trying to close browser window when I exit 10g forms:
Per oracle Note:115905.1
create close.html file Put the html file in the webserver root.
I created the following file in $ORACLE_HOME/Apache directory (webserver directory??)
1.)Create an html file (es. close.html):
<html>
<body onload="closeit()">
<script>
function closeit()
win = top;
win.opener = top;
win.close ();
</script>
</body>
</html>
In exit form when button pressed I have the code
web.show_document('http://apphost1.univ-wea.com:7777/close.html','_self');
The brwser window does not close automatically.
thanks,
Anitha

Hello this is saras from chennai.
Now i m developing oracle forms using 6i. now i m running it independantly. that is i put forms in one folder and run these forms using shortcut. If i m using the same in client machine also. But now i want to run these forms in webbrowser(client-server). for this i done the followings.
1. installing forms server and reports server.
2.Also i install IIS Server and appachie server also.
3. I had fmx files.
now i dont know the procedure to configure these web server with forms server. And i hold the fmx files in inetpub\wwroot folder.
Which one is the easy method appachiee server or iis server.
Please help me to run these fmx files in web browser.
I m eagerly waiting for your favourable reply.
saras,
[email protected]
chennai

Similar Messages

  • Close browser window when applet closes (seperateFrame=True)

    Hello,
    Does anyone know a way to close the parent browser window when the java applet closes when the config setting seperateFrame=True?
    Thanks

    Do a little search in the forum, there are 100s of solutions on how to close the browser window.

  • Opening hotmail: Please refresh your browser window, When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure . Refreshed but no change. in Safari no problem

    opening hotmail in firefox: Please refresh your browser window, When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure . Refreshed but no change. in Safari no problem

    Go to '''Options '''on Firefox Browser-->'''Advanced'''-->''Click on'' '''Network '''tab-->''Select '''''Settings'''-->''Select '''''Use System Proxy Settings
    '''

  • Can I close the browser window when I run a form?

    Hi,
    I'm running forms using SeparateFrame=TRUE, but the browser windows remains in background, could I close it before exiting the form?
    thanks

    See my code in this thread:
    9i Browser Fun!
    You may be able to do this via Javascript.

  • When a website launches a new window to enter information, Firefox no longer automatically closes the window when you click the submit button. Why?

    For example, when I create a message in my autoresponder service and want to attach an image a new window opens up so I can enter the details of the image (url, position, alt text). When I click the Save button, the information is captured but the window remains open and I have to manually close it.
    Firefox used to close the window automatically.

    YES!! Thank you jscher2000! You sir are a legend. Thanks for this, changed the newtaburl in about:config, totally worked. Nope, never saw it happening! Speedy machine this one :P Yep, that change completely sorted the issue, just opened about 741 new tabs through the shortcut on my mouse just to celebrate. Thanks guys who helped, no thanks those who didn't.

  • Firefox closes existing window when you open and close a new window

    When I'm using firefox and need to open a new window (or a website opens a new window) and I'm done with that new window and close it, Firefox attempts to also close the previous window that I am using. I've tried reinstalling, but other than that I don't know what to do. What usually happens when I close the window is that I have multiple tabs open in the other one and it asks me if I would like to close all my tabs. When I hit cancel, it asks me again. Once I hit cancel the second time it stops bothering me.

    I thought it was doing that also. But I found that if I start a new chat with someone I was messaging before, then the old messages re-appear in the messages window.

  • Getting hang/crash problem when I try to close browser window from applet

    I have a small Apllet that has a button that calls a Javascript function in the opening window, to close the window in which it is loaded.
    The Applet window is a PopUp window from one of my application's window. First time I start my application and load that Applet the button works fine. It calls the Javascript method and the Method closes the window using the self.close() method.
    But now if I open the applet window again and click on the button to close the windows, it hangs. I put in trace statements and saw that it hangs on JSObject.getWindow() window.
    I am using JDK Plugin 1.4.2_07 and 5.0 , if I work out on IE browser, it works fine.But when I use firefox or mozilla it gives problem of hanging/crashing.
    Note that in case of 1.4.2_07 this problem experienced some times but in case of 5.0 it gives always for other than IE browser.
    Please, if somebody could give me some clue about why this would happen, I will really appreciate that. and code related to this is given below
    import javax.swing.JApplet;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import netscape.javascript.JSObject;
    public class TestApplet extends JApplet implements ActionListener{
    protected JButton closeButton = null;
    protected JSObject win = null;
    private JFrame frame = null;
    private boolean alreadyClosed = false;
    public void init(){
    this.win = JSObject.getWindow(this);
    this.closeButton = new JButton("Close Browser Window");
    this.add(this.closeButton);
    this.closeButton.addActionListener(this);
    frame = new JFrame("Test Frame");
    frame.setSize(300, 400);
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.out.println("windowClosing");
    alreadyClosed = true;
    TestApplet.this.stop();
    frame.show();
    public void actionPerformed(ActionEvent ae){
    stop();
    public void stop() {
    if (!alreadyClosed) {
    alreadyClosed = true;
    frame.dispose();
    closeLaunchedBrowser();
    System.gc();
    System.runFinalization();
    private void closeLaunchedBrowser() {
    final TestApplet thisObject = this;
    Runnable r = new Runnable() {
    public void run() {
    try {
    JSObject win = (JSObject)JSObject.getWindow(thisObject);
    if (win != null && win.toString() != null) {
    //win.eval("top.opener=self;self.close();");
    //win.call("close", null);
    win.eval("self.close();");
    } catch (Exception e) {
    Thread t = new Thread(r);
    t.start();
    Thanks.

    I am waiting for any reply. I have tried for all these below options still I am getting Problem. I heard this is because of javascript, it wont call methods more times .Thats
    why I need other than JSObject or java script solution.If some one know anything about this or any modifications I have to made for the below options to avoid that problem please let me know.
    // URL durl = new URL(thisObject.getCodeBase(), "test/CloseMe.htm");
    // System.out.println("URL :" + durl.toString());      
    // thisObject.getAppletContext().showDocument(durl);
    //     thisObject.getAppletContext().showDocument(new URL("javascript:window.close();"), "_self");
    //win.eval("top.opener=self;top.close();");
    //win.call("close", null);
    //Object[] args = { "close", new Integer(50) };
    // win.call("setTimeout", args);
    //win.eval("setTimeout("close", new Integer(50));");
    If it is the problem of JRE I just need it should work on 1.4.2_01 or higher.
    thanks.

  • Flash quits when you close the window

    Why does Flash CS5 quit when you close the window you were working in? It has to restart every time you close and open a file.

    This doesn't seem to be a crashing issue. The program seems to be designed like Windows, wherein the application quits when you close the last open window. This is incredibly annoying and completely unacceptable.

  • Confirmation from Safari when you close a window on Mavericks

    Hi all,
    I was wondering if it was possible to have like a little warning from Safari when we quit a window on this application. For example: Are you sure you want to quit this window?". Firefox has this application when you close a window with several tabs.
    I looked in the preferences, but i haven't found it. I know this kind of warning was present on the elder versions of Safari, so why not now?
    Hope you can help,
    Tim
    I have a MacBook Pro, OS X Mavericks (10.9.2) and the Safari 7.0.2

    Actually, you're right. After a little investigation, it was the way I was using the gui that was making this happen. During debuging (using Netbeans) I would open the dialog window then click on netbeans to check the console for a couple System.out.println()'s I put in the code. Then on closing the Dialog window Netbeans would be the next window selected by the OS and would appear over the original JFrame. D'oh! Just sillyness on my part imagining problems for myself.
    I guess what I was looking for was that when I close the dialog window that the OS would focus to the parent JFrame instead of the previously viewed application.
    Thanks!

  • Close browser window using FPM

    Hi all,
    My requirement is to close the browser window on click of a button in the webdynpro component.
    I have triggered  FPM event gc_event_close in after action of that view.
    The window gets closed perfectly if I execute the application from SE80.
    But the window is not getting closed when I run the application from portal, instead I get a message saying' The application is closed, you can now close the window'
    Any pointers on closing the browser window when the application is run from portal would be of great help.
    Thanks in advance.
    Veda

    I can confirm this behavior. You can change this behavior by adding code in process_event method.
    1. Fire a portal event with
    "urn:com.sapportals:navigation", "CloseWindow", ""
    OR
    1. Fire a Exit plug with close_window = abap_true
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm]

  • How to close browser window after flushing a file to the browser?

    I have this simple JSP, which flushes a String to the browser as a file (message.txt). The JSP gets opened in a new window when the user clicks a link.
    The problem is that after the JSP has run, the browser window won't close automatically. I've tried adding a small javascript to achieve this, but i doesn't seem to even get run.
    How can I close the browser window after the JSP has run?
    <%
         String someText = "bla bla bla";
         // Flush to browser
         response.setContentType("text/plain");
         response.setHeader("Content-Disposition", "attachment;filename=message.txt");
         try {
              ServletOutputStream os = response.getOutputStream();
              os.write(someText.getBytes());
              os.flush();
              os.close();
         } catch (IOException e) {
              return;
         } catch (Exception e) {
              return;
    %>
    <script type="text/javascript">
         window.close();
    </script>After the JSP has run, an empty html page with the following source can be seen:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
    <BODY></BODY></HTML>

    Try run this and you'll see that it runs fine with no exceptions:
    <%
         String someText = "bla bla bla";
         response.setContentType("text/plain");
         response.setHeader("Content-Disposition", "attachment;filename=message.txt");
         try {
              ServletOutputStream os = response.getOutputStream();
              os.write(someText.getBytes());
              os.flush();
              os.close();
         } catch (Exception e) {
              out.println("ERROR: " + e);
    %>It looks like that after I've closed the outputStream I can't do any more processing in the JSP. Even if I remove the setContentType and setHeader methods it still behaves this way.
    I'm starting to think that there's no way around this...??

  • How to close browser window after user log out

    Hi,
    Does anyone know how I can close browser window after user logs out. The scenario is when user clicks a log out button I will invalidate user session and close the browser right away in the backing bean.
    Your help would be appreciated.

    Try run this and you'll see that it runs fine with no exceptions:
    <%
         String someText = "bla bla bla";
         response.setContentType("text/plain");
         response.setHeader("Content-Disposition", "attachment;filename=message.txt");
         try {
              ServletOutputStream os = response.getOutputStream();
              os.write(someText.getBytes());
              os.flush();
              os.close();
         } catch (Exception e) {
              out.println("ERROR: " + e);
    %>It looks like that after I've closed the outputStream I can't do any more processing in the JSP. Even if I remove the setContentType and setHeader methods it still behaves this way.
    I'm starting to think that there's no way around this...??

  • How to close browser window ?

    Can someone help me?
    I need to close the browser window when I exit form in WEB mode
    (i.e. using the toolbar exit button).
    I think that, using a javascript inside the HTML cartridge, it
    should be possible.
    For example see the following.
    <SCRIPT FOR=dev60 EVENT=????? LANGUAGE="JavaScript">
    window.close;
    </SCRIPT>
    To make running this I must to know the event name generated by
    the form applet.
    Does someone know it?
    Is there some documentation about this argument ?
    Thanks
    Luigi
    null

    Never mind, found the answer here:
    Re: Closing brower window

  • I copied this from your 5.0 download information: "All of the App Tabs you have set when you close Firefox will open as App Tabs when you start Firefox again." When I opened my computer today all my apptabs from yesterday had disappeared. Why?

    Your download page for 5.0 stated: All of the App Tabs you have set when you close Firefox will open as App Tabs when you start Firefox again.
    I liked the convenience of using App Tabs and was disappointed to find that the ones I had set up yesterday were gone today. Am I doing something wrong?

    Works fine for me, I can simulate your problem by improperly closing Firefox.
    The correct way would be to close the windows you don't want and then to exit Firefox through the File ("'''Alt+F'''") menu then use '''Exit''' or '''Qui'''t depending on your system.
    But '''I can simulate your problem''' by closing the good window with "X" in the upper right-corner first (the one with the app-tabs) and then close the other window by any means.
    You restart Firefox and open a window, since you closed without app-tabs there are none so you just see a window with your home page.
    Firefox has some things added to Firefox 4 and therefore in Firefox 5.
    # "'''Alt+S'''" (Hi'''s'''tory menu)
    # "'''Restore Previous Session'''" (that's the window without the app-tabs, but you have to this first)
    # "'''Restore Recently Closed Windows'''" -- can choose which window to reopen based on name and the mouse-over tells how many tabs. or you just use "'''Restore All Windows'''" without the guessing.
    ''I know you are on a Mac, and this affects Windows user more than anybody else, but it does affect other systems besides Windows, occasionally, perhaps more often now with the plugins container.''
    The following may not completely eliminate having to terminate Firefox through the Windows Control Panel but it will come very close.
    '''Plug-in and tasks started by Firefox may continue after attempting
    to close Firefox''' The "X" in the upper right-hand corner closes the
    Window (same as Ctrl+Shift+W) but even if it is the last Firefox window,
    it does not necessarily close Firefox .
    The only '''proper way to exit Firefox''' is to use '''Exit''' through the
    File menu, not the "X" in the upper right corner of last Firefox window.
    In the Firefox 4 and 5 that would be Alt+F then X
    * '''Firefox hangs''' | Troubleshooting | Firefox Support <br>http://support.mozilla.com/en-US/kb/Firefox%20hangs#w_hang-at-exit
    Use the '''Windows Task Manger''' to remove all running firefox.exe in the "'''Processes'''" tab of the Windows Task Manager, then restart Firefox.
    If Firefox will still not start, remove the parent.lock file from the profile which is created each time Firefox is started to prevent other Firefox tasks from running, see<br>
    http://kb.mozillazine.org/Profile_in_use#Remove_the_profile_lock_file
    '''Avoiding Problems with close/restart''' ''choose either extension''
    :Use to close and restart Firefox after enabling or disabling an extension, switching to a new theme, or modifying configuration files, then you don't have to worry about delay or have to look in the Task Manager to see if Firefox is closed yet.
    Both extensions use the same keyboard shortcut "'''Ctrl+Alt+R'''" or a file menu option.
    *"'''Restartless Restart'''" extension for Firefox 4.0+ only (2 KB download ) <br>https://addons.mozilla.org/firefox/addon/249342/
    *For older versions use "'''QuickRestart'''" extension (34 KB download) (<br>https://addons.mozilla.org/firefox/addon/3559/

  • App Tabs do not load on restart. "All of the App Tabs you have set when you close Firefox will open as App Tabs when you start Firefox again."

    Use FF3 and taking a look at FF4. I set up some App Tabs. Close FF4. Open FF4. No App Tabs.
    Any Help?

    Are you clearing your recent history when you close Firefox?
    Firefox stores App Tabs and tab group details in the same file that stores details of browsing sessions. Make sure that you have not set Firefox to delete browsing history. For details of the setting to check see https://support.mozilla.com/kb/Clear+Recent+History

Maybe you are looking for

  • Message Mapping IDoc-segment

    Hello, In my scenario I will do the following mapping with an source structure to an ORDERS05 Idoc: file structure: #E1EDP01|10|33|ST #E1EDP20|33|20050823 inbound message: <?xml version="1.0" encoding="utf-8" ?> <ns:MT_ORDERS_OUT xmlns:ns="http:/ /OR

  • How do I prevent a 2nd website from nuking a 1st site?

    I hope you can help me since I have not succeeded in my attempts so far. On one macbook I have a fully developed iweb website that I want to keep. When I attempted to design a 2nd site, with a new name, using iweb in my macbook pro, it simply replace

  • Webcenter Imaging and AXF Integration

    Hi, I am implementing the solution accelerator solution (Imaging and EBS R12 integration). I have followed the steps given in the document and at the end of the integration to check if AXF is integration is done successfully or not , I need to execut

  • Aperture created homepages and iWeb created web pages

    Is there a way around the fact that Aperture created pages go into a "homepage.mac.com" directory when iWeb goes to "web.mac.com" directory?? The problem is to get all my creations (from Aperture and/or iWeb) into the same folder = much easier to giv

  • I'm trying to upgrade a model MB292LL iPad to iOS 6

    I'm trying to upgrade a model MB292LL iPad currently using iOS 5.1.1 to 6, but when checking "software update" I''m being told "software is up to date" - can this model be updated to 6? If so, what should I do differently?