ndt-users - ndt applet error
Subject: ndt-users list created
List archive
- From: "galuschka" <>
- To: <>
- Subject: ndt applet error
- Date: Wed, 20 Apr 2011 19:25:58 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; b=eJjunB27oWxfXAcRi+Kh+AZ+gK8AnXfkt+LIiQbOo0lxQmtsvQ7KXQSpJICqQytt8I fB+HDT6jGLRWO2+nOSIy8eDtYDrq6MCazL376qfHvDfFn+EPskQWHsx5f9Zb423G8nBl iwPYFbpvO/XsLydkU3txDDdjRRxR427TOcViI=
Hello, I have modify Tcpbw100.jar and reinstall ndt , But when I using apache to run ndt test from browser, the test looks like stop when call the function sendMsg(); But if I using command line “ #pwd /us/local/ndt #java –jar Tcpbw100.jar The ndt applet Execute Success! It’s can send the msg correctly. I am add the function to Tcpbw100.java as follows when get web100 variables from server: public void sendMsg(String msg) { String server = "[The same domain Server_IP]"; System.out.println("send msg ********" +msg); int port = 3006; Socket soc; try { soc = new Socket(server, port); DataOutputStream out = new DataOutputStream(soc.getOutputStream()); out.writeUTF(msg); System.out.println("send msg success"); } catch (UnknownHostException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } Can someone tell me why am I can’t run the applet correctly by apache ? Best regards, Gc |
- ndt applet error, galuschka, 04/20/2011
Archive powered by MHonArc 2.6.16.