<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Java Works</title>
	<atom:link href="http://javaworks.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://javaworks.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 16 Jan 2012 23:35:17 +0000</lastBuildDate>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='javaworks.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Java Works</title>
		<link>http://javaworks.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://javaworks.wordpress.com/osd.xml" title="Java Works" />
	<atom:link rel='hub' href='http://javaworks.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to Assert on HTTP Response Code in Jmeter</title>
		<link>http://javaworks.wordpress.com/2011/11/02/how-to-assert-on-http-response-code-in-jmeter/</link>
		<comments>http://javaworks.wordpress.com/2011/11/02/how-to-assert-on-http-response-code-in-jmeter/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 18:00:51 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[JMeter]]></category>
		<category><![CDATA[Jmeter]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://javaworks.wordpress.com/?p=426</guid>
		<description><![CDATA[While testing performance of web applications we would want to verify the pages are functioning as expected. But sometimes the page is too huge for the jmeter test client to download, or some times you are not concerned about the &#8230; <a href="http://javaworks.wordpress.com/2011/11/02/how-to-assert-on-http-response-code-in-jmeter/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=426&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While testing performance of web applications we would want to verify the pages are functioning as expected. But sometimes the page is too huge for the jmeter test client to download, or some times you are not concerned about the contents of the response page, rather you just want to make sure the page is delivered, i.e. there are no 404 or 500&#8242;s , but the response code is 200 OK, or redirect 302 , which ever is expected in your test scenario.</p>
<p>solution :</p>
<p>In the Response Assertion you should select &#8220;Response Code&#8221; rather than the default response, and add 200|302 if you are expecting redirect or 200 if you want to test if the page is being delivered without at issues.</p>
<p><a href="http://javaworks.files.wordpress.com/2011/11/screen-shot-2011-11-02-at-11-07-55-am.png"><img class="aligncenter size-medium wp-image-427" title="Screen shot 2011-11-02 at 11.07.55 AM" src="http://javaworks.files.wordpress.com/2011/11/screen-shot-2011-11-02-at-11-07-55-am.png?w=300&#038;h=187" alt="" width="300" height="187" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/javaworks.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/javaworks.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/javaworks.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/javaworks.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/javaworks.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/javaworks.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/javaworks.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/javaworks.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/javaworks.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/javaworks.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/javaworks.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/javaworks.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/javaworks.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/javaworks.wordpress.com/426/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=426&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://javaworks.wordpress.com/2011/11/02/how-to-assert-on-http-response-code-in-jmeter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10e0b2f5da295979e312e0c62ece3e08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tamaash</media:title>
		</media:content>

		<media:content url="http://javaworks.files.wordpress.com/2011/11/screen-shot-2011-11-02-at-11-07-55-am.png?w=300" medium="image">
			<media:title type="html">Screen shot 2011-11-02 at 11.07.55 AM</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting Cookie in Jmeter</title>
		<link>http://javaworks.wordpress.com/2011/08/05/setting-cookie-in-jmeter/</link>
		<comments>http://javaworks.wordpress.com/2011/08/05/setting-cookie-in-jmeter/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 00:11:05 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[JMeter]]></category>

		<guid isPermaLink="false">http://javaworks.wordpress.com/?p=415</guid>
		<description><![CDATA[ThreadGroup HttpRequest BeanShell Pre Processor CookieManager This is what the Pre Processor should have import org.apache.jmeter.protocol.http.control.CookieManager; import org.apache.jmeter.protocol.http.control.Cookie; CookieManager manager = sampler.getCookieManager(); Cookie cookie = new Cookie(&#8220;&#60;NAME&#62;&#8221;,&#8221;&#60;VALUE&#62;&#8221;,&#8221;&#60;HOST&#62;&#8221;,&#8221;/&#8221;,false,0); manager.add(cookie); The only reason Im using a pre processor is Im not sure &#8230; <a href="http://javaworks.wordpress.com/2011/08/05/setting-cookie-in-jmeter/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=415&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ThreadGroup<br />
HttpRequest<br />
<strong>BeanShell</strong> Pre Processor<br />
<strong>CookieManager</strong></p>
<p>This is what the Pre Processor should have<br />
import org.apache.jmeter.protocol.http.control.<strong>CookieManager</strong>;<br />
import org.apache.jmeter.protocol.http.control.<strong>Cookie</strong>;<br />
<strong>CookieManager</strong> <strong>manager</strong> = sampler.getCookieManager();<br />
<strong>Cookie</strong> <strong>cookie</strong> = new <strong>Cookie</strong>(&#8220;&lt;NAME&gt;&#8221;,&#8221;&lt;VALUE&gt;&#8221;,&#8221;&lt;HOST&gt;&#8221;,&#8221;/&#8221;,false,0);<br />
<strong>manager</strong>.add(<strong>cookie</strong>);</p>
<p>The only reason Im using a pre processor is Im not sure how else to get the<br />
<strong>CookieManager</strong> , but I suppose there is a way . ideally I&#8217;d do this <strong>in</strong> a post<br />
processor . </p>
<p>&nbsp;</p>
<p>reference &#8211; <a href="http://jmeter.512774.n5.nabble.com/writnng-to-reading-to-cookies-td522380.html" target="_blank">http://jmeter.512774.n5.nabble.com/writnng-to-reading-to-cookies-td522380.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/javaworks.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/javaworks.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/javaworks.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/javaworks.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/javaworks.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/javaworks.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/javaworks.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/javaworks.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/javaworks.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/javaworks.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/javaworks.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/javaworks.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/javaworks.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/javaworks.wordpress.com/415/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=415&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://javaworks.wordpress.com/2011/08/05/setting-cookie-in-jmeter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10e0b2f5da295979e312e0c62ece3e08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tamaash</media:title>
		</media:content>
	</item>
		<item>
		<title>Java Request Sampler in Jmeter</title>
		<link>http://javaworks.wordpress.com/2011/03/23/java-request-sampler-in-jmeter/</link>
		<comments>http://javaworks.wordpress.com/2011/03/23/java-request-sampler-in-jmeter/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 06:45:03 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[JMeter]]></category>

		<guid isPermaLink="false">http://javaworks.wordpress.com/?p=408</guid>
		<description><![CDATA[&#160; How to write a custom Java Class and use it as part of Java Request in Jmeter 1. reference &#8211; http://henry-tech-notes.blogspot.com/2006/10/testing-hessian-services-with-jmeter.html How to use SampleResult in Java Request / Why its required reference &#8211; http://stackoverflow.com/questions/2379688/testing-java-classes-with-jmeter<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=408&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><span style="text-decoration:underline;"><strong>How to write a custom Java Class and use it as part of Java Request in Jmeter</strong></span></p>
<p>1.</p>
<p>reference &#8211; http://henry-tech-notes.blogspot.com/2006/10/testing-hessian-services-with-jmeter.html</p>
<p><span style="text-decoration:underline;"><strong>How to use SampleResult in Java Request / Why its required</strong></span></p>
<p>reference &#8211; http://stackoverflow.com/questions/2379688/testing-java-classes-with-jmeter</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/javaworks.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/javaworks.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/javaworks.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/javaworks.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/javaworks.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/javaworks.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/javaworks.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/javaworks.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/javaworks.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/javaworks.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/javaworks.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/javaworks.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/javaworks.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/javaworks.wordpress.com/408/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=408&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://javaworks.wordpress.com/2011/03/23/java-request-sampler-in-jmeter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10e0b2f5da295979e312e0c62ece3e08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tamaash</media:title>
		</media:content>
	</item>
		<item>
		<title>jps &#8211; Java Virtual Machine Process Status Tool</title>
		<link>http://javaworks.wordpress.com/2011/03/10/jps-java-virtual-machine-process-status-tool/</link>
		<comments>http://javaworks.wordpress.com/2011/03/10/jps-java-virtual-machine-process-status-tool/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 15:52:13 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[JVM]]></category>
		<category><![CDATA[jps]]></category>

		<guid isPermaLink="false">http://javaworks.wordpress.com/?p=406</guid>
		<description><![CDATA[A very power full tool , yet effective for simple use case as well. I use this often when i wasnt to know the specific javaclasses which are running on a server/host. its a pain to type ps -ef &#124; &#8230; <a href="http://javaworks.wordpress.com/2011/03/10/jps-java-virtual-machine-process-status-tool/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=406&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A very power full tool , yet effective for simple use case as well. I use this often when i wasnt to know the specific javaclasses which are running on a server/host.</p>
<p>its a pain to type ps -ef | grep java and read through the pile of information spitted out by the command, instead just use &#8220;jps&#8221; if you are looking for a java application / calss.</p>
<p>please note : this is not yet supported on Wiondows &#8211; for detaile look at sun&#8217;s ( now oracle) <a href="http://download.oracle.com/javase/1.5.0/docs/tooldocs/share/jps.html" target="_blank">documentation</a> .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/javaworks.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/javaworks.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/javaworks.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/javaworks.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/javaworks.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/javaworks.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/javaworks.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/javaworks.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/javaworks.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/javaworks.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/javaworks.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/javaworks.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/javaworks.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/javaworks.wordpress.com/406/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=406&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://javaworks.wordpress.com/2011/03/10/jps-java-virtual-machine-process-status-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10e0b2f5da295979e312e0c62ece3e08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tamaash</media:title>
		</media:content>
	</item>
		<item>
		<title>Thread Dump for Java Process</title>
		<link>http://javaworks.wordpress.com/2011/03/09/thread-dump-for-java-process/</link>
		<comments>http://javaworks.wordpress.com/2011/03/09/thread-dump-for-java-process/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 17:17:26 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://javaworks.wordpress.com/?p=403</guid>
		<description><![CDATA[Thread dump is a essential part of debugging issues with running process apart from looking at the logs, thread dumps provide a &#8220;under the hood&#8221; view of your java process and its health. kill -3 or kill -QUIT are usually &#8230; <a href="http://javaworks.wordpress.com/2011/03/09/thread-dump-for-java-process/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=403&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thread dump is a essential part of debugging issues with running process apart from looking at the logs, thread dumps provide a &#8220;under the hood&#8221; view of your java process and its health.</p>
<p>kill -3  or kill -QUIT  are usually used to take thread dumps in most UNIX environments, but there is catch for java process which was kicked off by a shell-script.</p>
<p>This <a href="http://javatechniques.com/blog/jdb-example-generating-a-thread-dump/">blog post</a> explains this in great detail and is a good read if you are stuck trying to take a thread dump on a java process started by a shell script -</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/javaworks.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/javaworks.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/javaworks.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/javaworks.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/javaworks.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/javaworks.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/javaworks.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/javaworks.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/javaworks.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/javaworks.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/javaworks.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/javaworks.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/javaworks.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/javaworks.wordpress.com/403/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=403&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://javaworks.wordpress.com/2011/03/09/thread-dump-for-java-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10e0b2f5da295979e312e0c62ece3e08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tamaash</media:title>
		</media:content>
	</item>
		<item>
		<title>How do I split a string with any whitespace chars as delimiters?</title>
		<link>http://javaworks.wordpress.com/2011/02/23/how-do-i-split-a-string-with-any-whitespace-chars-as-delimiters/</link>
		<comments>http://javaworks.wordpress.com/2011/02/23/how-do-i-split-a-string-with-any-whitespace-chars-as-delimiters/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 20:35:49 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[String]]></category>

		<guid isPermaLink="false">http://javaworks.wordpress.com/?p=396</guid>
		<description><![CDATA[in short use : myString.split("\\s+"); details in Stack Overflow<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=396&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>in short use :<code><strong> myString.split("\\s+");</strong></code></p>
<p>details in <a href="http://stackoverflow.com/questions/225337/how-do-i-split-a-string-with-any-whitespace-chars-as-delimiters">Stack Overflow</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/javaworks.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/javaworks.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/javaworks.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/javaworks.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/javaworks.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/javaworks.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/javaworks.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/javaworks.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/javaworks.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/javaworks.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/javaworks.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/javaworks.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/javaworks.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/javaworks.wordpress.com/396/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=396&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://javaworks.wordpress.com/2011/02/23/how-do-i-split-a-string-with-any-whitespace-chars-as-delimiters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10e0b2f5da295979e312e0c62ece3e08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tamaash</media:title>
		</media:content>
	</item>
		<item>
		<title>What is a request dispatcher and how does it work?</title>
		<link>http://javaworks.wordpress.com/2011/02/23/what-is-a-request-dispatcher-and-how-does-it-work/</link>
		<comments>http://javaworks.wordpress.com/2011/02/23/what-is-a-request-dispatcher-and-how-does-it-work/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 07:09:07 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[j2ee]]></category>
		<category><![CDATA[Servlet]]></category>
		<category><![CDATA[RequestDispatcher]]></category>

		<guid isPermaLink="false">http://javaworks.wordpress.com/?p=392</guid>
		<description><![CDATA[reference &#8211; http://www.jguru.com/faq/view.jsp?EID=206736 &#160; A RequestDispatcher object can forward a client&#8217;s request to a resource or include the resource itself in the response back to the client. A resource can be another servlet, or an HTML file, or a JSP &#8230; <a href="http://javaworks.wordpress.com/2011/02/23/what-is-a-request-dispatcher-and-how-does-it-work/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=392&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>reference &#8211; http://www.jguru.com/faq/view.jsp?EID=206736</p>
<p>&nbsp;</p>
<p><span style="font-family:Verdana,Arial,Helvetica;font-size:x-small;">A <tt>RequestDispatcher</tt> object can forward a client&#8217;s request to a resource or include the resource itself in the response back to the client.  A resource can be another servlet, or an HTML file, or a JSP file, etc. </span></p>
<p><span style="font-family:Verdana,Arial,Helvetica;font-size:x-small;">You can also think of a <tt>RequestDispatcher</tt> object as a wrapper for the resource located at a given path that is supplied as an argument to the <tt>getRequestDispatcher</tt> method. </span></p>
<p><span style="font-family:Verdana,Arial,Helvetica;font-size:x-small;">For constructing a <tt>RequestDispatcher</tt> object, you can use either the <tt>ServletRequest.getRequestDispatcher()</tt> method or the <tt>ServletContext.getRequestDispatcher()</tt> method.  They both do the same thing, but impose slightly different constraints on the argument path.  For the former, it looks for the resource in the same webapp to which the invoking servlet belongs and the pathname specified can be relative to invoking servlet.  For the latter, the pathname must begin with &#8216;/&#8217; and is interpreted relative to the root of the webapp. </span></p>
<p><span style="font-family:Verdana,Arial,Helvetica;font-size:x-small;">To illustrate, suppose you want <tt>Servlet_A</tt> to invoke <tt>Servlet_B</tt>.  If they are both in the same directory, you could accomplish this by incorporating the following code fragment in either the <tt>service</tt> method or the <tt>doGet</tt> method of <tt>Servlet_A</tt>: </span></p>
<pre><span style="font-family:Verdana,Arial,Helvetica;font-size:x-small;"><tt>
   RequestDispatcher dispatcher = getRequestDispatcher("Servlet_B");
   dispatcher.forward( request, response );
</tt>
</span></pre>
<p><span style="font-family:Verdana,Arial,Helvetica;font-size:x-small;">where <tt>request</tt>, of type <tt>HttpServletRequest</tt>, is the first parameter of the enclosing <tt>service</tt> method (or the <tt>doGet</tt> method) and <tt>response</tt>, of type <tt>HttpServletResponse</tt>, the second.  You could accomplish the same by </span></p>
<pre><span style="font-family:Verdana,Arial,Helvetica;font-size:x-small;"><tt>
  RequestDispatcher dispatcher=getServletContext().getRequestDispatcher( "/servlet/Servlet_B" );
   dispatcher.forward( request, response );
</tt>
</span></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/javaworks.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/javaworks.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/javaworks.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/javaworks.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/javaworks.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/javaworks.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/javaworks.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/javaworks.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/javaworks.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/javaworks.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/javaworks.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/javaworks.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/javaworks.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/javaworks.wordpress.com/392/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=392&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://javaworks.wordpress.com/2011/02/23/what-is-a-request-dispatcher-and-how-does-it-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10e0b2f5da295979e312e0c62ece3e08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tamaash</media:title>
		</media:content>
	</item>
		<item>
		<title>Reading From a File in Java</title>
		<link>http://javaworks.wordpress.com/2011/02/19/reading-from-a-file-in-java/</link>
		<comments>http://javaworks.wordpress.com/2011/02/19/reading-from-a-file-in-java/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 03:57:12 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[file i/o]]></category>

		<guid isPermaLink="false">http://javaworks.wordpress.com/?p=389</guid>
		<description><![CDATA[Simple Example : 1:import java.io.*; 2: 3:public class ReadFile{ 4: public static void main(String[] args){ 5: try { 6: 7: /* Sets up a file reader to read the file passed on the command 8: line one character at a &#8230; <a href="http://javaworks.wordpress.com/2011/02/19/reading-from-a-file-in-java/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=389&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Simple Example : </strong></p>
<pre>  1:import java.io.*;
   2:
   3:public class ReadFile{
   4:    public static void main(String[] args){
   5:        try {
   6:
   7:            /*  Sets up a file reader to read the file passed on the command
   8:                line one character at a time */
   9:            FileReader input = new FileReader(args[0]);
  10:
  11:            /* Filter FileReader through a Buffered read to read a line at a
  12:               time */
  13:            BufferedReader bufRead = new BufferedReader(input);
  14:
  15:            String line;    // String that holds current file line
  16:            int count = 0;  // Line number of count
  17:
  18:            // Read first line
  19:            line = bufRead.readLine();
  20:            count++;
  21:
  22:            // Read through file one line at time. Print line # and line
  23:            while (line != null){
  24:                System.out.println(count+": "+line);
  25:                line = bufRead.readLine();
  26:                count++;
  27:            }
  28:
  29:            bufRead.close();
  30:
  31:        }catch (ArrayIndexOutOfBoundsException e){
  32:            /* If no file was passed on the command line, this expception is
  33:            generated. A message indicating how to the class should be
  34:            called is displayed */
  35:            System.out.println("Usage: java ReadFile filename\n");
  36:
  37:        }catch (IOException e){
  38:            // If another exception is generated, print a stack trace
  39:            e.printStackTrace();
  40:        }
  41:
  42:    }// end main
  43:}

referenced from <a href="http://www.abbeyworkshop.com/howto/java/readFile/index.html">Abbey Workshop</a>
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/javaworks.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/javaworks.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/javaworks.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/javaworks.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/javaworks.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/javaworks.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/javaworks.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/javaworks.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/javaworks.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/javaworks.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/javaworks.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/javaworks.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/javaworks.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/javaworks.wordpress.com/389/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=389&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://javaworks.wordpress.com/2011/02/19/reading-from-a-file-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10e0b2f5da295979e312e0c62ece3e08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tamaash</media:title>
		</media:content>
	</item>
		<item>
		<title>How to GET and SET Variables in JMeter</title>
		<link>http://javaworks.wordpress.com/2011/02/09/how-to-get-and-set-variables-in-jmeter/</link>
		<comments>http://javaworks.wordpress.com/2011/02/09/how-to-get-and-set-variables-in-jmeter/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 22:42:07 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[JMeter]]></category>

		<guid isPermaLink="false">http://javaworks.wordpress.com/?p=380</guid>
		<description><![CDATA[Jmeter is very useful for testing web pages, as it helps us scrape a web page and grab stuffs you want in the web page to be used somewhere else in the script. Classic example is when you want to &#8230; <a href="http://javaworks.wordpress.com/2011/02/09/how-to-get-and-set-variables-in-jmeter/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=380&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Jmeter is very useful for testing web pages, as it helps us scrape a web page and grab stuffs you want in the web page to be used somewhere else in the script.</p>
<p>Classic example is when you want to grab a token, or a URL which you would like to call after you call the main page for instance.</p>
<p>My favourate way to do this is by  using the Regular Expression Post processor, which allows me to provide a regular expression with the following options</p>
<p>1. Reference Name : This will be the name of the variable where the value extracted form the web page based on the regular expression will be stored and can be referenced elsewhere in the script</p>
<p>2. Regular Expression : this is the regular expression for the line to be matched</p>
<p>3. Template : The format to be specified is $&lt;group_number&gt;$ , which specifies which group will be picked up and stored in the reference name/variable. The grouping is similar to the one in Java Regular Expression, &#8211; example : $2$ would result in the second of the groups to be picked up form a regular exmpression &#8211; (.*)details=(.*)src=(.*) , which is the value of what ever follows &#8220;details=&#8221; in the regular expression</p>
<p>4. Match No ( 0 for Random) : 1 would specify the first occurance of a line that matches the regular expression</p>
<p>5. Default Value :</p>
<p>Now once you have a Reference name of a variable , you would use it in the following way</p>
<p>1. You can refer to it form other &#8220;SAMPLERS&#8221; by using the following format ${REF_NAME}</p>
<p>2. Assign it to a String variable in &#8220;BEAN SHELL&#8221; &#8211; String x = vars.get(&#8220;REF_NAME&#8221;);</p>
<p>Now if you would like to re-assign value for the REFFRENCE NAME after modification in Bean Shell, you would do it as follow</p>
<p>vars.put(&#8220;REF_NAME&#8221;,&#8221;some_value&#8221;);</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/javaworks.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/javaworks.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/javaworks.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/javaworks.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/javaworks.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/javaworks.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/javaworks.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/javaworks.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/javaworks.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/javaworks.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/javaworks.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/javaworks.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/javaworks.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/javaworks.wordpress.com/380/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=380&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://javaworks.wordpress.com/2011/02/09/how-to-get-and-set-variables-in-jmeter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10e0b2f5da295979e312e0c62ece3e08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tamaash</media:title>
		</media:content>
	</item>
		<item>
		<title>Query String with JavaScript</title>
		<link>http://javaworks.wordpress.com/2011/02/09/query-string-with-javascript/</link>
		<comments>http://javaworks.wordpress.com/2011/02/09/query-string-with-javascript/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 07:22:25 +0000</pubDate>
		<dc:creator>Hari</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://javaworks.wordpress.com/?p=376</guid>
		<description><![CDATA[Query String are very common among web applications, i have used it very often with JSP and Servlets. I have not used query Strings with Java Script, This article describes it well. Example Below &#8211; &#8211; Java Script In short &#8230; <a href="http://javaworks.wordpress.com/2011/02/09/query-string-with-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=376&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Query String are very common among web applications, i have used it very often with JSP and Servlets. I have not used query Strings with Java Script, This <a href="http://www.bloggingdeveloper.com/post/JavaScript-QueryString-ParseGet-QueryString-with-Client-Side-JavaScript.aspx">article</a> describes it well.</p>
<p><strong>Example Below &#8211; </strong></p>
<p><strong>&#8211; Java Script<br />
</strong></p>
<p>In short use this function to grab the query string -</p>
<p>function getQuerystring(key, default_)<br />
{<br />
if (default_==null) default_=&#8221;";<br />
key = key.replace(/[\[]/,&#8221;\\\[").replace(/[\]]/,&#8221;\\\]&#8221;);<br />
var regex = new RegExp(&#8220;[\\?&amp;]&#8220;+key+&#8221;=([^&amp;#]*)&#8221;);<br />
var qs = regex.exec(window.location.href);<br />
if(qs == null)<br />
return default_;<br />
else<br />
return qs[1];<br />
}</p>
<p>The <strong>getQuerystring function </strong>is simple to use. Let&#8217;s say you have the following URL:</p>
<p>http://www.bloggingdeveloper.com?author=bloggingdeveloper</p>
<p>and you want to get the &#8220;author&#8221; querystring&#8217;s value:</p>
<p>var author_value = <strong>getQuerystring</strong>(&#8216;author&#8217;);</p>
<p>&nbsp;</p>
<p><strong>Escaping %20 ( for space) or %40 (for @ ) from query String </strong></p>
<p>Lets take a look at the method getQuerystring again.  Here is the &#8220;step by step&#8221; explanation  of the method</p>
<p><em>key = key.replace(/[\[]/,&#8221;\\\[").replace(/[\]]/,&#8221;\\\]&#8221;);</em><br />
<em> var regex = new RegExp(&#8220;[\\?&amp;]&#8220;+key+&#8221;=([^&amp;#]*)&#8221;);</em></p>
<p>The above lines prepares the regular expression that will be applied on the url gathered in the next line of code.</p>
<p><em>var qs = regex.exec(window.location.href);</em></p>
<p>Javascript location href property of DOM window object allows you to get or set the current URL. You can access the href property through location.href or window.location.href. Both methods will return the same result. If you are trying to assign the value retrieved from the Javascript location href to a variable or alert message box then it will return the current URL of the browser. And if you are trying to assign the value to the Javascript location href property then it will redirect the current URL to the specified location URL. <a href="http://programming.top54u.com/post/Javascript-Window-Location-Href-URL.aspx">more here</a></p>
<p>Some times though,you would want to escape the query string fillers and revert it back to original value ( ex : %20 to space ). If you want to achieve this, you need to add this line to the method which escapes the fillers and reverts the original query string values ( for example Java%20World to Java World )</p>
<p><em>var qs =  <span style="font-family:Courier New;font-size:x-small;">regex.exec( <strong>unescape(</strong>w<strong>in</strong>dow.location.href<strong>)</strong> );</span></em><span style="color:#000000;font-family:verdana;font-size:x-small;"> </span></p>
<p><strong>JSP </strong>-</p>
<p>URl: <a href="http://myaddress.com/xyz?name=jill&amp;sex=f" target="_newWindow">http://myaddress.com/xyz?name=jill</a><br />
String someName = request.getParameter(&#8220;name&#8221;) ;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/javaworks.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/javaworks.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/javaworks.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/javaworks.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/javaworks.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/javaworks.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/javaworks.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/javaworks.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/javaworks.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/javaworks.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/javaworks.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/javaworks.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/javaworks.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/javaworks.wordpress.com/376/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=javaworks.wordpress.com&amp;blog=564134&amp;post=376&amp;subd=javaworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://javaworks.wordpress.com/2011/02/09/query-string-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/10e0b2f5da295979e312e0c62ece3e08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tamaash</media:title>
		</media:content>
	</item>
	</channel>
</rss>
