<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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: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>Comments for Manikandan's Weblog</title>
	<atom:link href="http://manikandanmv.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://manikandanmv.wordpress.com</link>
	<description>If, else, do, while, switch,.........Javascript, Ajax, JSON, MySQL</description>
	<lastBuildDate>Thu, 29 Oct 2009 06:53:14 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Vector vs ArrayList by manikandanmv</title>
		<link>http://manikandanmv.wordpress.com/2009/03/21/vector-vs-arraylist/#comment-357</link>
		<dc:creator>manikandanmv</dc:creator>
		<pubDate>Thu, 29 Oct 2009 06:53:14 +0000</pubDate>
		<guid isPermaLink="false">http://manikandanmv.wordpress.com/?p=337#comment-357</guid>
		<description>You are misunderstood.!
Don&#039;t judge which is faster with your simple example. Because this leads to wrong perception.
You can see the differences while processing huge data. Just try it.
Hope you are clear now.</description>
		<content:encoded><![CDATA[<p>You are misunderstood.!<br />
Don&#8217;t judge which is faster with your simple example. Because this leads to wrong perception.<br />
You can see the differences while processing huge data. Just try it.<br />
Hope you are clear now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Html Form submit using Ajax by manikandanmv</title>
		<link>http://manikandanmv.wordpress.com/2008/10/06/html-form-submit-using-ajax/#comment-355</link>
		<dc:creator>manikandanmv</dc:creator>
		<pubDate>Fri, 23 Oct 2009 04:15:50 +0000</pubDate>
		<guid isPermaLink="false">http://manikandanmv.wordpress.com/?p=60#comment-355</guid>
		<description>I don&#039;t have code but this can be achievable using iframe.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t have code but this can be achievable using iframe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Html Form submit using Ajax by Richard Sampson</title>
		<link>http://manikandanmv.wordpress.com/2008/10/06/html-form-submit-using-ajax/#comment-353</link>
		<dc:creator>Richard Sampson</dc:creator>
		<pubDate>Thu, 22 Oct 2009 21:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://manikandanmv.wordpress.com/?p=60#comment-353</guid>
		<description>Do you have a code example that passes text and files... is there a special way to incorporate multipart/form-data with xmlHttpRequest?</description>
		<content:encoded><![CDATA[<p>Do you have a code example that passes text and files&#8230; is there a special way to incorporate multipart/form-data with xmlHttpRequest?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Html Form submit using Ajax by Richard Sampson</title>
		<link>http://manikandanmv.wordpress.com/2008/10/06/html-form-submit-using-ajax/#comment-352</link>
		<dc:creator>Richard Sampson</dc:creator>
		<pubDate>Thu, 22 Oct 2009 20:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://manikandanmv.wordpress.com/?p=60#comment-352</guid>
		<description>Regarding earlier October 22, 2009 comment re “deletes whitespace”:

Checked the parameter values passed using a document.write() in javascript file... values were passed correctly including white space in text string. Something about my request object seems to have caused loss of white space .... no problem. I have a fix.

Thanks.</description>
		<content:encoded><![CDATA[<p>Regarding earlier October 22, 2009 comment re “deletes whitespace”:</p>
<p>Checked the parameter values passed using a document.write() in javascript file&#8230; values were passed correctly including white space in text string. Something about my request object seems to have caused loss of white space &#8230;. no problem. I have a fix.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Html Form submit using Ajax by manikandanmv</title>
		<link>http://manikandanmv.wordpress.com/2008/10/06/html-form-submit-using-ajax/#comment-351</link>
		<dc:creator>manikandanmv</dc:creator>
		<pubDate>Thu, 22 Oct 2009 06:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://manikandanmv.wordpress.com/?p=60#comment-351</guid>
		<description>Richard Sampson,

I didn&#039;t handled anything special for deleting white spaces. It works perfectly.
Can you check the request parameters with some tools(firebug/Live http headers) and ensure the parameter values are passed correctly.?</description>
		<content:encoded><![CDATA[<p>Richard Sampson,</p>
<p>I didn&#8217;t handled anything special for deleting white spaces. It works perfectly.<br />
Can you check the request parameters with some tools(firebug/Live http headers) and ensure the parameter values are passed correctly.?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Html Form submit using Ajax by Richard Sampson</title>
		<link>http://manikandanmv.wordpress.com/2008/10/06/html-form-submit-using-ajax/#comment-350</link>
		<dc:creator>Richard Sampson</dc:creator>
		<pubDate>Fri, 16 Oct 2009 05:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://manikandanmv.wordpress.com/?p=60#comment-350</guid>
		<description>My October 16 message included some vbscript as follows:

...
iv. then collect parameter values in .asp page using:
request.form(&quot;productname&quot;) 

and

v. ... each word:
responseText = replace(request.form(&quot;productname&quot;), &quot;*q*&quot;, &quot; &quot;)</description>
		<content:encoded><![CDATA[<p>My October 16 message included some vbscript as follows:</p>
<p>&#8230;<br />
iv. then collect parameter values in .asp page using:<br />
request.form(&#8220;productname&#8221;) </p>
<p>and</p>
<p>v. &#8230; each word:<br />
responseText = replace(request.form(&#8220;productname&#8221;), &#8220;*q*&#8221;, &#8221; &#8220;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Html Form submit using Ajax by Richard Sampson</title>
		<link>http://manikandanmv.wordpress.com/2008/10/06/html-form-submit-using-ajax/#comment-349</link>
		<dc:creator>Richard Sampson</dc:creator>
		<pubDate>Fri, 16 Oct 2009 05:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://manikandanmv.wordpress.com/?p=60#comment-349</guid>
		<description>Regarding earlier July 10, 2009 comment re &quot;deletes whitespace&quot;:

i. ajax.js code OK to get input string values, e.g., Red Apples

ii. problem occurs during collection of string &#039;params&#039; using request
   object in .asp page, --&gt; output like &#039;RedApples&#039;. (whitespace lost)

iii. my solution is to add code to ajax.js to replace white space in each value using reg expn like this:

var params = &quot;productname=&quot; + formobj.productname.value.replace(/(\s)/g, &#039;*q*&#039;);    // use *q* as placeholder for spaces (&quot; &quot;) between words

iv. then collect parameter values in .asp page using 
v. and then replace &#039;*q*&#039; with &quot; &quot; to restore white space between each word:


Does your .jsp page keep white space between words in string?</description>
		<content:encoded><![CDATA[<p>Regarding earlier July 10, 2009 comment re &#8220;deletes whitespace&#8221;:</p>
<p>i. ajax.js code OK to get input string values, e.g., Red Apples</p>
<p>ii. problem occurs during collection of string &#8216;params&#8217; using request<br />
   object in .asp page, &#8211;&gt; output like &#8216;RedApples&#8217;. (whitespace lost)</p>
<p>iii. my solution is to add code to ajax.js to replace white space in each value using reg expn like this:</p>
<p>var params = &#8220;productname=&#8221; + formobj.productname.value.replace(/(\s)/g, &#8216;*q*&#8217;);    // use *q* as placeholder for spaces (&#8221; &#8220;) between words</p>
<p>iv. then collect parameter values in .asp page using<br />
v. and then replace &#8216;*q*&#8217; with &#8221; &#8221; to restore white space between each word:</p>
<p>Does your .jsp page keep white space between words in string?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Method to convert string array to integer array in Java by manikandanmv</title>
		<link>http://manikandanmv.wordpress.com/2009/03/04/method-to-convert-string-array-to-integer-array-in-java/#comment-341</link>
		<dc:creator>manikandanmv</dc:creator>
		<pubDate>Fri, 28 Aug 2009 11:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://manikandanmv.wordpress.com/?p=316#comment-341</guid>
		<description>noprobs.
good, anyway you are going to convert array type then y r u using arraylist as temporary storage of all array values coming from several areas, unless/until if any dynamic addition will happen.
based on your requirements might be you have to change the logic but better keep the &lt;strong&gt;performance&lt;/strong&gt; as one main factor in mind when you write the code.

thanks for your understanding.</description>
		<content:encoded><![CDATA[<p>noprobs.<br />
good, anyway you are going to convert array type then y r u using arraylist as temporary storage of all array values coming from several areas, unless/until if any dynamic addition will happen.<br />
based on your requirements might be you have to change the logic but better keep the <strong>performance</strong> as one main factor in mind when you write the code.</p>
<p>thanks for your understanding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Method to convert string array to integer array in Java by Saranya</title>
		<link>http://manikandanmv.wordpress.com/2009/03/04/method-to-convert-string-array-to-integer-array-in-java/#comment-340</link>
		<dc:creator>Saranya</dc:creator>
		<pubDate>Fri, 28 Aug 2009 10:35:29 +0000</pubDate>
		<guid isPermaLink="false">http://manikandanmv.wordpress.com/?p=316#comment-340</guid>
		<description>Sorry in stead of Long array i typed Integer on the hurry..

And i haven&#039;t used that function directly in my code.  (thats the case of those compilation errors).  i am constructing that ArrayList on the flow of my code (that is, it will get String elements from several String arrays and combine it in one ArrayList then convent all to Long array).  To use ur code i need to know the exact size of String elements that will not be known initially in my case.  Now I found a logic to calculate the array size of the strings used in my application. and using ur logic.

ur explanation is very helpful.

Well.. thanks for your comment..</description>
		<content:encoded><![CDATA[<p>Sorry in stead of Long array i typed Integer on the hurry..</p>
<p>And i haven&#8217;t used that function directly in my code.  (thats the case of those compilation errors).  i am constructing that ArrayList on the flow of my code (that is, it will get String elements from several String arrays and combine it in one ArrayList then convent all to Long array).  To use ur code i need to know the exact size of String elements that will not be known initially in my case.  Now I found a logic to calculate the array size of the strings used in my application. and using ur logic.</p>
<p>ur explanation is very helpful.</p>
<p>Well.. thanks for your comment..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Method to convert string array to integer array in Java by manikandanmv</title>
		<link>http://manikandanmv.wordpress.com/2009/03/04/method-to-convert-string-array-to-integer-array-in-java/#comment-339</link>
		<dc:creator>manikandanmv</dc:creator>
		<pubDate>Fri, 28 Aug 2009 09:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://manikandanmv.wordpress.com/?p=316#comment-339</guid>
		<description>Saranya,

for array type conversion. don&#039;t know about the BEST way except looping logic.

seems to be your pasted code snippets returns lots of complitation errors and mismatch between your question(integer type) n snippet(long type).
anyway k. when comparing with my method. I would say my method consume lesser execution time in performance wise.
you also using the same loop logic, but the difference is you are storing into arraylist and converting into array. this will take more time while execution. 
lets explain clearly.
first, iterate the string array and store it into arraylist.
second, using toArray method converting array list to array by that time compiler converting to specified target type which was specified in toArray argument.

my point is toArray method will internally do some looping process. so your code looks like having two loop&#039;s unnecessarily for just converting array type.

sometimes our java code looks simple but lacks performance when its going to process huge data.

hope you understand it. If not post your doubt.</description>
		<content:encoded><![CDATA[<p>Saranya,</p>
<p>for array type conversion. don&#8217;t know about the BEST way except looping logic.</p>
<p>seems to be your pasted code snippets returns lots of complitation errors and mismatch between your question(integer type) n snippet(long type).<br />
anyway k. when comparing with my method. I would say my method consume lesser execution time in performance wise.<br />
you also using the same loop logic, but the difference is you are storing into arraylist and converting into array. this will take more time while execution.<br />
lets explain clearly.<br />
first, iterate the string array and store it into arraylist.<br />
second, using toArray method converting array list to array by that time compiler converting to specified target type which was specified in toArray argument.</p>
<p>my point is toArray method will internally do some looping process. so your code looks like having two loop&#8217;s unnecessarily for just converting array type.</p>
<p>sometimes our java code looks simple but lacks performance when its going to process huge data.</p>
<p>hope you understand it. If not post your doubt.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
