<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>web development helpdesk &#187; url</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/url/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Sun, 17 Jul 2011 12:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>How do I send a GET request using Java?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-send-a-get-request-using-java?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-send-a-get-request-using-java</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-send-a-get-request-using-java#comments</comments>
		<pubDate>Wed, 15 Sep 2010 22:12:23 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[GET]]></category>
		<category><![CDATA[query string]]></category>
		<category><![CDATA[request]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[URLConnection]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1571</guid>
		<description><![CDATA[// Create query string String queryString = &#34;param1=&#34; + URLEncoder.encode(param1Value, &#34;UTF-8&#34;); queryString += &#34;&#38;param2=&#34; + URLEncoder.encode(param2Value, &#34;UTF-8&#34;); // Make connection URL url = new URL(&#34;http://www.obiweb.com.au&#34;+queryString); URLConnection urlConnection = url.openConnection(); // Read the response BufferedReader in = new BufferedReader( new InputStreamReader(urlConnection.getInputStream())); String line = null; while ((line = in.readLine()) != null) { System.out.println(line); } out.close(); in.close(); [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-send-a-get-request-using-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert a File to a URL</title>
		<link>http://helpdesk.objects.com.au/java/how-to-convert-a-file-to-a-url?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-convert-a-file-to-a-url</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-convert-a-file-to-a-url#comments</comments>
		<pubDate>Fri, 11 Jun 2010 01:02:07 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[URI]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1504</guid>
		<description><![CDATA[Many developers use the toURL() method of the File class to convert a File to a URL. This method however does not handle correctly escaping characters that are illegal in URL’s (such as spaces) and has been deprecated. To convert a File to a URL you should instead first use the toURI() method to convert [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-convert-a-file-to-a-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OutOfMemoryError when sending large POST</title>
		<link>http://helpdesk.objects.com.au/java/outofmemoryerror-when-sending-large-post?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=outofmemoryerror-when-sending-large-post</link>
		<comments>http://helpdesk.objects.com.au/java/outofmemoryerror-when-sending-large-post#comments</comments>
		<pubDate>Wed, 10 Mar 2010 08:37:37 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[HttpURLConnection]]></category>
		<category><![CDATA[OutOfMemoryError]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[URLConnection]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1428</guid>
		<description><![CDATA[When using URLConnection (HttpURLConnection actually) to send a large POST you can often get a OutOfMemoryError, for example when POSTing a large file. Reason for this is that by default HttpURLConnection buffers the entire POST to enable it to set the content length for the request. If you already know the content length in advance [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/outofmemoryerror-when-sending-large-post/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to extract host name from URL</title>
		<link>http://helpdesk.objects.com.au/java/how-to-extract-host-name-from-url?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-extract-host-name-from-url</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-extract-host-name-from-url#comments</comments>
		<pubDate>Mon, 23 Nov 2009 21:34:14 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1318</guid>
		<description><![CDATA[The URL class can be used to parse a URL and retrieve the components such as host name String urlstring = &#34;http://www.objects.com.au/services/sherpa.html&#34; URL url = new URL(urlstring}; String host = url.getHost(); // returns &#34;www.objects.com.au&#34; Related posts: How do I programatically extract a certificate from a site and add it to my keystore? Often you need [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-extract-host-name-from-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert file path with space to a URL</title>
		<link>http://helpdesk.objects.com.au/java/how-to-convert-file-path-with-space-to-a-url?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-convert-file-path-with-space-to-a-url</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-convert-file-path-with-space-to-a-url#comments</comments>
		<pubDate>Mon, 03 Aug 2009 00:43:19 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[spaces]]></category>
		<category><![CDATA[URI]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1110</guid>
		<description><![CDATA[Many developers use the toURL() method of the File class to convert a File to a URL. This method however does not handle correctly escaping characters that are illegal in URL&#8217;s (such as spaces) and has been deprecated. To convert a File to a URL you should instead first use the toURI() method to convert [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-convert-file-path-with-space-to-a-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to access ftp server using URL class?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-access-ftp-server-using-url-class?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-access-ftp-server-using-url-class</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-access-ftp-server-using-url-class#comments</comments>
		<pubDate>Thu, 02 Apr 2009 00:16:47 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[commons net]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[FtpClient]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=865</guid>
		<description><![CDATA[You can use URL class to access an ftp server by using the ftp protocol with the URL URL url = new URL("ftp://username:password@ftp.xyz.com/file.txt"); The URL can then be used to open a connection to the URL and read the contents If you need more functionality than simply pulling files from the ftp server then some [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-access-ftp-server-using-url-class/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to write GET response to byte array?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-write-get-response-to-byte-array?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-write-get-response-to-byte-array</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-write-get-response-to-byte-array#comments</comments>
		<pubDate>Wed, 18 Feb 2009 02:05:32 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[ByteArrayOutputStream]]></category>
		<category><![CDATA[GET]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[URLConnection]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=798</guid>
		<description><![CDATA[To send a HTTP GET request using Java can be done with the URL class. The openStream() method will send the GET request and return an input stream that can be used to read the HTTP response. Wrapping the stream in a BufferedInputStream can be done to improve the I/O performance. The ByteArrayOutputStream makes it [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-write-get-response-to-byte-array/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How do I generate dynamic url&#8217;s with SmartGWT and RestDataSource?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-generate-dynamic-urls-with-smartgwt-and-restdatasource?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-generate-dynamic-urls-with-smartgwt-and-restdatasource</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-generate-dynamic-urls-with-smartgwt-and-restdatasource#comments</comments>
		<pubDate>Fri, 19 Dec 2008 23:04:08 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[RestDataSource]]></category>
		<category><![CDATA[SmartGWT]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=679</guid>
		<description><![CDATA[By default the RestDataSource only supports static url&#8217;s. If your backend requires dynamic url&#8217;s then you need to subclass RestDataSource and override transformRequest(). In transformRequest() you can set the actionURL property as required by your backend server. // Following example shows how to append // the entities if to the static update url final RestDataSource [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-generate-dynamic-urls-with-smartgwt-and-restdatasource/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to create a url ensuring parameters are encoded?</title>
		<link>http://helpdesk.objects.com.au/jsp/how-to-create-a-url-ensuring-parameters-are-encoded?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-create-a-url-ensuring-parameters-are-encoded</link>
		<comments>http://helpdesk.objects.com.au/jsp/how-to-create-a-url-ensuring-parameters-are-encoded#comments</comments>
		<pubDate>Fri, 12 Dec 2008 22:54:14 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[jsp]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[parameter]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[URLEncoder]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=684</guid>
		<description><![CDATA[URL parameters require the parameter values (and names) to be appropriately encoded. You can use the URLEncoder class to do this yourself, or the and tags can be used to handle it for you. &#60;c:url value=&#34;mypage.jsp&#34; var=&#34;myUrl&#34;&#62; &#60;c:param name=&#34;nameParam&#34; value=&#34;${name}&#34; /&#62; &#60;c:param name=&#34;ageParam&#34; value=&#34;${age}&#34; /&#62; &#60;c:param name=&#34;genderParam&#34; value=&#34;${gender}&#34; /&#62; &#60;/c:url&#62; Click &#60;a href=&#039;&#60;c:out value=&#34;${myUrl}&#34;/&#62;&#039;&#62;here&#60;/a&#62; Related [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/jsp/how-to-create-a-url-ensuring-parameters-are-encoded/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to load XML Document from URL</title>
		<link>http://helpdesk.objects.com.au/java/how-to-load-xml-document-from-url?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-load-xml-document-from-url</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-load-xml-document-from-url#comments</comments>
		<pubDate>Mon, 10 Nov 2008 00:53:22 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Document]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1313</guid>
		<description><![CDATA[You need to open an InputStream for the URL and pass that to your DocumentBuilder DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.parse(url.openStream()); Related posts: How do I create a DOM Document from an XML file? DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document... How to insert new root [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-load-xml-document-from-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

