您如何使用 Oracle Forms 10g 实施 WEBUtil
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/981668/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do you go about implementing WEbUtil with Oracle Forms 10g
提问by Arno Conradie
we are in the process of doing a Forms 10g upgrade from 6i and we cannot get the WebUtil utility to work, can anybody with first hand experience explain how you go about doing it
我们正在从 6i 升级 Forms 10g,我们无法让 WebUtil 实用程序工作,任何有第一手经验的人都可以解释一下您是如何进行升级的
回答by
For any Form that has commands that are now supported by WEBUTIL, you need to add the WEBUTIL.pll to that form as a reference objects. Commands like TEXT_IO, READ_IMAGE_FILE, etc will continue to work as they are, but they are now occurring on the Application Server instead of the Client computer. If you want it to be on the AS, don't do a thing.
Replace the calls that you now want to use the WEBUTIL option on with the WEBUTIL name. This is simply adding CLIENT_ as prefix to the original call. IE TEXT_IO is CLIENT_TEXT_IO.
Make sure WEBUTIL is working on your server. Oracle provides a test app to verify this and will support it's use. Not to mention it is very well documented on Oracle's site.
Compile the Forms/Reports with the new commands on the server that WEBUTIL is installed.
对于具有现在 WEBUTIL 支持的命令的任何表单,您需要将 WEBUTIL.pll 添加到该表单作为参考对象。TEXT_IO、READ_IMAGE_FILE 等命令将继续按原样工作,但它们现在发生在应用程序服务器而不是客户端计算机上。如果您希望它在 AS 上,请不要做任何事情。
将您现在想要使用 WEBUTIL 选项的调用替换为 WEBUTIL 名称。这只是在原始调用中添加 CLIENT_ 作为前缀。IE TEXT_IO 是 CLIENT_TEXT_IO。
确保 WEBUTIL 正在您的服务器上运行。Oracle 提供了一个测试应用程序来验证这一点,并将支持它的使用。更不用说它在 Oracle 的站点上有很好的记录。
在安装了 WEBUTIL 的服务器上使用新命令编译表单/报告。