我对此例外有不同的问题,请尝试理解。
每当我调用它时,它都会连接到其他一些应用程序。在这种情况下我得到了上述异常,这个问题只发生在字节网格服务器中。
我们像这样解决了上述问题,我们的管理员删除了安全性,意味着我们有 http ,他们删除了,所以我们正在使用 HTTP,但这不好,我想通过具有安全性的 Web 服务调用进行连接,任何人都可以给我最好的主意.请参阅我的示例代码
byte[] postData = urlParameters.getBytes(StandardCharsets.UTF_8);
int postDataLength = postData.length;
String request = PropertyFactory.getProperty("someUrl");
url = new URL(request);
postConnection = (HttpURLConnection) url.openConnection();
Run Code Online (Sandbox Code Playgroud)
我可以通过代码处理吗?
如何在javaScript中转义所有特殊字符.
我们正在使用它,但它不起作用:
<input type = "text" value="' }{ " : ? > < \ ] [ ' ; / . ,">
Run Code Online (Sandbox Code Playgroud)