Because the interfaces used by jsapi have the permission to use, it is necessary to determine whether the client supports js interfaces. Basic interface, determine whether the current client version supports the specified JS interface first, jsapi. jsp code String path request. getContextPath (); String basePath request. getScheme () +: + since the jsapi uses the http://www.php.cn/code/11829.html "target =" _ blank "> interface has the permission to use, it is necessary to determine whether the client supports js interfaces.
Basic interface, determine whether the current client version supports the specified JS interface
1. jsapi. jsp code
<% @ Page language = "java" import = "java. util. * "pageEncoding =" UTF-8 "%> <% String path = request. getContextPath (); String basePath = request. getScheme () + ": //" + request. getServerName () + ":" + request. getServerPort () + path + "/"; %> Jsapi test-V-type knowledge base
|