您还可以为 WebView 安装配置应用程序上下文路径。 此路径将附加到 WebView 的完全限定主机名和端口号之后,以形成用于访问 WebView 的 URL。 此功能允许用户为 WebView 定义“应用程序名称”。
在没有上下文路径的情况下访问 WebView:
http://<Server_name>:<Port_number>
在配置了上下文路径时访问 WebView:
http://<Server_name>:<Port_number>/<Context_path>/
例如,如果 Context_path 定义为 webview,且 introscope.webview.tcp.port 属性设置为默认值 8080,则通过以下 URL 访问 WebView:
http://<Server_name>:8080/webview/
您可在 WebView 属性文件中使用 introscope.webview.context.path 属性配置 WebView 上下文路径。 有关详细信息,请参阅 introscope.webview.context.path。 在定义上下文路径属性后重新启动 WebView。
|
版权所有 © 2013 CA。
保留所有权利。
|
|