This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, I am getting problem when I am trying to connnect the servlet with stand alone java application using URLConnection.Here I Am sending the code and console output from JSWK server.Please give the solution. thanks. //////////////////////////////////////////////////// Client program
Hi , Try this way but I am not sure whether this will work or not? URL u = new URL("XXXX"); java.net.HttpURLConnection uConn = (HttpURLConnection)u.openConnection(); uConn.setDoInput(true); uConn.setDoOutput (true); uConn.setUseCaches (false); // uConn.setRequestMethod("POST"); // uConn.setRequestProperty ("Content-Type", "application/x-www-// form-urlencoded"); Let me know whether it worked or not Thanks, Ninad
Joined: Nov 27, 2001
Hi Ninad, thank you for your suggestion.but I am getting same problem.Can you suggest any other solution. Thanks and regards Hari.