j2me波兰语

发布于 2024-10-10 03:58:25 字数 149 浏览 0 评论 0原文

我使用 j2me Polish(Netbeans IDE)创建了自己的聊天应用程序,我使用框架表单设计了一个聊天屏幕,并添加了一个具有直接输入属性的文本字段,并且在发送“&”时符号,连接立即关闭...... 有什么想法请.. 顺便说一句我正在使用 openfire 3.6.4

i created my own chat application using j2me polish (netbeans IDE) i designed a chat screen using framed form and added a textfield with direct input property, and when sending '&' symbol, the connection closes immediately....
any ideas please..
btw i am using openfire 3.6.4

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

枫林﹌晚霞¤ 2024-10-17 03:58:25

在来自服务器的 XML 流中查找错误消息。如果服务器正在关闭连接,它应该向您提供一条错误消息,说明原因。最可能的原因是您没有转义消息文本中的 XML 保留字符(“&”是保留字符),并且服务器检测到格式不正确的 XML 并关闭连接。

Look for an error message in the XML stream from the server. If the server is closing the connection it should give you an error message for why. The most likely reason is that you're not escaping XML reserved characters ('&' is a reserved character) in the message text and the server detects the improperly formatted XML and closes the connection.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文