Running Oracle Forms 11g outside browser

浪尽此生 提交于 2019-12-08 00:06:59

问题


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.

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.

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)

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

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

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!


回答1:


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 



回答2:


You can checkout the solution using Javascript from this Blog post



来源:https://stackoverflow.com/questions/14382272/running-oracle-forms-11g-outside-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!