Question: Well my servlet inside System.out.println (userid + "" + pass); nothing Oil Print<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) -> Reply: 1 network permissions have not? 2.
HttpURLConnection conn = (HttpURLConnection) url.openConnection (); conn.connect () ;/ / did not see this. Reply: System.out.println ("init");?? This is not also print not I think you use System.out.println how useless ah ... Previously been printed with log4j Reply: 对, init did not oil Reply:
WEB end, then print it using log4j Reply:
1 network permissions have not? 2.
HttpURLConnection conn = (HttpURLConnection) url.openConnection (); conn.connect () ;/ / did not see this.
I have tried, useless Reply: http://172.18.112.151:8080/chatserver/CheckLogin Try inside the browser, whether it is capable of. Reply: I'm here with a few days ago, null values, and get less, changing the way At the beginning: String uploadUrl = "http://" + ip + ": 8080/uploadfileservlet/UploadServlet"; result = new FileUploadUtil () uploadFile (picPath, uploadurl);.
Thus there is a problem with the above, Replaced so the result = new FileUploadUtil (). uploadFile (picPath, "http://" + ip + ": 8080/uploadfileservlet/UploadServlet"); Well then, I was put out of Yilengyileng. I do not know why, you see something next to you, is not nearly so
Reply: Problem solved yet Access points, Reply:
System.out.println ("init");?? This is not also print not I think you use System.out.println how useless ah ... Previously been printed with log4j
对, init did oil
WEB end, then print it using log4j
syso can also print Reply:
http://172.18.112.151:8080/chatserver/CheckLogin Try inside the browser, whether it is capable of.
is pass Reply:
solved the problem yet Access points,
can be solved in another way, but this approach still do not know why this result Reply: This method is that you do not have to perform, with a single-step method to try to call it? Reply: try { URL url = new URL (urlstr); HttpURLConnection conn = (HttpURLConnection) url.openConnection (); conn.connect (); Log.i ("v", urlstr); . Toast.makeText (getApplicationContext (), userid + "", 1) show (); } Catch (MalformedURLException e) { e.printStackTrace (); } Catch (IOException e) { e.printStackTrace (); }
No comments:
Post a Comment