);
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
// optional default is GET
con.setRequestMethod(GET);
con.setDoOutput(true);
con.connect();
int responseCode = con.getResponseCode();
/*--SNIP!--*/
-Original Message-
From: Mark
Hi,
I am trying to work around a CORS issue on my app server side by standing up a
proxy jsp in order to talk to Solr directly. It's really just a request
forwarder at this point in time. The problem is that the same query I run
through the proxy works fine through the browser, but when I
Xiaoling,
I'm just a user of the Lucene (as Solr) and a newbie at that. I can't really
speak on behalf of Lucene project, but I would start by looking at the Java 8
compatibliity guide available at
http://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366.html#A999387.