一个手机与Servlet通信问题!!!
String url="http://localhost:8000/advjhtp1/servletApp";
HttpConnection hc=(HttpConnection) Connector.open(url, Connector.READ_WRITE);
程序到此就不执行了,try{}也不抛出异常!
我用的是J2ME Wireless Toolkit
控制台:
Warning: To avoid potential deadlock, operations that may block, such as
networking, should be performed in a different thread than the
commandAction() handler.
各位高手帮忙啊!!!
HttpConnection hc=(HttpConnection) Connector.open(url, Connector.READ_WRITE);
程序到此就不执行了,try{}也不抛出异常!
我用的是J2ME Wireless Toolkit
控制台:
Warning: To avoid potential deadlock, operations that may block, such as
networking, should be performed in a different thread than the
commandAction() handler.
各位高手帮忙啊!!!
...全文
相关推荐
Java通过HttpURLConnection与servlet通信
Java通过HttpURLConnection与Servlet通信是Web开发中常见的一种交互方式,尤其在客户端和服务端进行数据交换时。
手机向servlet发送信息
"手机向servlet发送信息"本文将详细介绍手机向servlet发送信息的整个过程,并对其中涉及到的技术和概念进行详细的解释。**J2ME和Servlet的通信**J2ME(Java 2
swing与servlet通信
**Swing与Servlet通信基础** - **HTTP请求**:Swing应用通常通过向服务器发送HTTP请求来启动与Servlet的通信。
Applet与Servlet之间的通信与交互
两者之间的通信与交互是构建动态Web应用的关键部分。Applet与Servlet之间的通信主要有以下四种方法:1.
j2me 手机开发 RMS SERVLET
在J2ME手机应用中,Servlet常被用来作为后台服务,处理与服务器之间的通信。


移动开发其他问题
