<?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>techtamasha.com &#187; General</title>
	<atom:link href="http://www.techtamasha.com/category/general/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techtamasha.com</link>
	<description>a new play everyday</description>
	<lastBuildDate>Fri, 13 Jan 2012 09:21:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Create a desktop shortcut to lock computer</title>
		<link>http://www.techtamasha.com/create-a-desktop-shortcut-to-lock-computer/74</link>
		<comments>http://www.techtamasha.com/create-a-desktop-shortcut-to-lock-computer/74#comments</comments>
		<pubDate>Wed, 10 Dec 2008 09:58:39 +0000</pubDate>
		<dc:creator>Nischal Shetty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[how lock windows shortcut]]></category>
		<category><![CDATA[lock windows]]></category>
		<category><![CDATA[lock windows shortcut]]></category>
		<category><![CDATA[single click lock windows]]></category>
		<category><![CDATA[windows shortcut lock]]></category>

		<guid isPermaLink="false">http://techtamasha.com/?p=74</guid>
		<description><![CDATA[You can lock your windows desktop by clicking on &#8220;windows key + L&#8220;. There is another way to do this. By creating a shortcut. Right Click on your desktop and select New -&#62; Shortcut. A shortcut will be created and a dialog box would pop up. Copy paste %windir%\system32\rundll32.exe user32.dll,LockWorkStation into the text box of [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.techtamasha.com%2Fcreate-a-desktop-shortcut-to-lock-computer%2F74&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:110px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Create a desktop shortcut to lock computer" data-url="http://www.techtamasha.com/create-a-desktop-shortcut-to-lock-computer/74" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>You can lock your windows desktop by clicking on &#8220;<strong>windows key + L</strong>&#8220;. There is another way to do this. By creating a shortcut.</p>
<p>Right Click on your desktop and select</p>
<p><strong>New</strong> -&gt; <strong>Shortcut</strong>.</p>
<p>A shortcut will be created and a dialog box would pop up.</p>
<p>Copy paste <span style="color: #008000;">%windir%\system32\rundll32.exe user32.dll,LockWorkStation</span> into the text box of the dialog.</p>
<p>Click Next. Type any name you like.</p>
<p>A desktop shortcut with the name that you gave would be created. Double click anytime to lock your computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtamasha.com/create-a-desktop-shortcut-to-lock-computer/74/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange the value between two variables without using a temporary variable</title>
		<link>http://www.techtamasha.com/exchange-the-value-between-two-variables-without-using-a-temporary-variable/26</link>
		<comments>http://www.techtamasha.com/exchange-the-value-between-two-variables-without-using-a-temporary-variable/26#comments</comments>
		<pubDate>Thu, 31 Jan 2008 11:58:47 +0000</pubDate>
		<dc:creator>Nischal Shetty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[exchange value without temp]]></category>
		<category><![CDATA[exchange values]]></category>

		<guid isPermaLink="false">http://techtamasha.com/?p=26</guid>
		<description><![CDATA[Let me show you how you can interchange the values stored in two variables without using a temporary variable. Case 1: For two integers int a = 10; int b = 20; a = a+b; b = a-b; a = a-b; Thats all!!! When you print the values stored in these two variables, you&#8217;ll notice [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.techtamasha.com%2Fexchange-the-value-between-two-variables-without-using-a-temporary-variable%2F26&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:110px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Exchange the value between two variables without using a temporary variable" data-url="http://www.techtamasha.com/exchange-the-value-between-two-variables-without-using-a-temporary-variable/26" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>Let me show you how you can interchange the values stored in two variables without using a temporary variable.</p>
<p>Case 1: <strong>For two integers </strong></p>
<p>int a = 10;</p>
<p>int b = 20;</p>
<p>a = a+b;</p>
<p>b = a-b;</p>
<p>a = a-b;</p>
<p>Thats all!!! When you print the values stored in these two variables, you&#8217;ll notice that the values have been interchanged!</p>
<p>Case 2 : <strong>For two Strings</strong></p>
<p>String s1 = &#8220;Shetty&#8221;;<br />
String s2 = &#8220;Nischal&#8221;;</p>
<p>s1 = s1+s2;<br />
s2 = s1.substring(0,s1.length()-s2.length());<br />
s1 = s1.substring(s2.length());</p>
<p>System.out.println(&#8220;My name is &#8220;+s1+&#8221; &#8220;+s2);</p>
<p>The output will be: My name is Nischal Shetty</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtamasha.com/exchange-the-value-between-two-variables-without-using-a-temporary-variable/26/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>request.getParameterValues()</title>
		<link>http://www.techtamasha.com/requestgetparametervalues/23</link>
		<comments>http://www.techtamasha.com/requestgetparametervalues/23#comments</comments>
		<pubDate>Mon, 14 Jan 2008 15:13:14 +0000</pubDate>
		<dc:creator>Nischal Shetty</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://techtamasha.com/?p=23</guid>
		<description><![CDATA[request.getParameterValues(String) in java helps retrieve a String array as parameter from the JSP. i.e. If you have more than one value set for a variable in the JSP with the same name, you can get it as a String array using request.getParameterValues(&#8220;parameterName&#8221;) Ex. in my jsp I set the variable as follows: &#60;input type=&#8221;hidden&#8221; name=&#8221;colour&#8221; [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.techtamasha.com%2Frequestgetparametervalues%2F23&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:110px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="request.getParameterValues()" data-url="http://www.techtamasha.com/requestgetparametervalues/23" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>request.getParameterValues(String) in java helps retrieve a String array as parameter from the JSP.</p>
<p>i.e. If you have more than one value set for a variable in the JSP with the same name, you can get it as a String array using request.getParameterValues(&#8220;parameterName&#8221;)</p>
<p>Ex. in my jsp I set the variable as follows:</p>
<p>&lt;input type=&#8221;hidden&#8221; name=&#8221;colour&#8221; value =&#8221;red&#8221;&gt;</p>
<p>&lt;input type=&#8221;hidden&#8221; name=&#8221;colour&#8221; value =&#8221;blue&#8221;&gt;</p>
<p>&lt;input type=&#8221;hidden&#8221; name=&#8221;colour&#8221; value =&#8221;green&#8221;&gt;</p>
<p>Next, I try to obtain these values at the back-end java file as follows:</p>
<p>String colour[] = request.getParameterValues(&#8220;colour&#8221;);</p>
<p>All the three colours set in the JSP will be obtained in an array!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtamasha.com/requestgetparametervalues/23/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My journey into the TECH WORLd</title>
		<link>http://www.techtamasha.com/my-journey-into-the-tech-world/19</link>
		<comments>http://www.techtamasha.com/my-journey-into-the-tech-world/19#comments</comments>
		<pubDate>Mon, 24 Dec 2007 13:17:07 +0000</pubDate>
		<dc:creator>Nischal Shetty</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://techtamasha.com/?p=19</guid>
		<description><![CDATA[Each day as I come across something new, I write it down for all to view. Knowledge is power, power should be shared, but if you don&#8217;t do it&#8230;Nobody cares!!! -Nischal Shetty]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.techtamasha.com%2Fmy-journey-into-the-tech-world%2F19&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:110px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="My journey into the TECH WORLd" data-url="http://www.techtamasha.com/my-journey-into-the-tech-world/19" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>Each day as I come across something new, I write it down for all to view.</p>
<p>Knowledge is power, power should be shared, but if you don&#8217;t do it&#8230;Nobody cares!!!</p>
<p>-Nischal Shetty</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtamasha.com/my-journey-into-the-tech-world/19/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

