本文介绍了在浏览器外运行 Oracle Forms 11g的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个可以通过浏览器启动的 Oracle Forms 11g 应用程序.这会留下一个空的浏览器窗口,因为 Forms 会打开它自己的窗口.但是,如果您关闭空的浏览器窗口,表单窗口也会关闭.

We have an Oracle Forms 11g application which can be started via browser.This leaves an empty browser window, since Forms opens its own window. However, if you close the empty browser window, the Forms window also get closed.

我喜欢这种安装是服务器安装的事实,我可以轻松地更新它.

I like the fact that this kind of installation is a server installation and I can easily update it.

但我更喜欢桌面上的图标(快捷方式),它只打开表单应用程序而没有浏览器窗口.我希望通过 Java SDK 中的 AppletViewer 解决这个问题.

But I would prefer an icon (a shourtcut) on the desktop which just opens the Forms application without the browser window. I hoped to resolve this with the AppletViewer from the Java SDK.

但是,当我使用起始页的 URL 启动它时:

However, when I start it with the URL of the start page I receive:

Warning: <embed> tag requires code attribute.
Exception in thread "main" java.lang.NullPointerException
    at sun.applet.AppletViewer.parse(AppletViewer.java:1129)
    at sun.applet.AppletViewer.parse(AppletViewer.java:1074)
    at sun.applet.Main.run(Main.java:156)
    at sun.applet.Main.main(Main.java:98)

有谁知道如何在没有浏览器的情况下直接打开 Forms 应用程序(并且没有在本地安装应用程序)?

Does anyone know how I can open the Forms application directly without the browser (and without a local installation of an app)?

PS:我知道无需浏览器即可独立运行 Oracle Forms,但这对我没有帮助,因为引用的链接不再在线.

PS: I know Run Oracle Forms as standalone without browser, but it didn't help me, because the referenced link isn't online anymore.

更新 1:链接已被替换,因此这可能是我会尝试的解决方案.
更新 2:我们设法像任何其他桌面应用程序一样通过 Webstart 运行我们的 Forms 应用程序.万岁!

Update 1: the link has been replaced, so this might be a solution I will try.
Update 2: we managed to run our Forms apps via Webstart like any other desktop application. Hurrah!

推荐答案

您可以在启动它的同一浏览器窗口中打开 Forms 应用程序,只需将其放在 formsweb.cfg 中:

You can have the the Forms app open in the same browser window it was launched from, just put this in formsweb.cfg:

separateFrame=false

这篇关于在浏览器外运行 Oracle Forms 11g的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 21:34