Is there any reason why I could not send a response to another server
without a request by having a background servlet do something akin to the
following?
String str = "key=value";
URL url = new URL("http://www.otherserver.com/dowacka.do");
URLConnection conn = url.openConnection();
conn.setDoOutput(true);
conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
PrintWriter pw = new PrintWriter(conn.getOutputStream());
pw.println(str);
pw.close();
Thanks for any response. Micael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]