version 1.33, 2002/08/06 02:29:37
|
version 1.34, 2002/08/06 02:32:26
|
Line 309 public class ARPServlet extends HttpServ
|
Line 309 public class ARPServlet extends HttpServ
|
try { |
try { |
URL url = new URL(uri); |
URL url = new URL(uri); |
URLConnection con = url.openConnection(); |
URLConnection con = url.openConnection(); |
con.addRequestProperty("Accept", "application/rdf+xml"); |
con.setRequestProperty("Accept", "application/rdf+xml"); |
con.connect(); |
con.connect(); |
String contentT = con.getContentType(); |
String contentT = con.getContentType(); |
String charset = null; |
String charset = null; |