<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3239575593313572660</id><updated>2012-01-20T12:13:47.054-08:00</updated><category term='Ramdan'/><category term='benefits'/><category term='health'/><title type='text'>Asker Ali M</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>75</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-7850547443763860197</id><published>2011-12-26T03:43:00.000-08:00</published><updated>2011-12-27T03:32:59.158-08:00</updated><title type='text'>Error in JSP Tomcat 6, Java 6 javax.servlet.ServletException: java.lang.NoSuchFieldError: IS_SECURITY_ENABLED</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;javax.servlet.ServletException: java.lang.NoSuchFieldError: IS_SECURITY_ENABLED&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;org.apache.jasper.servlet.JspServlet.service(JspServlet.java:275)&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;br /&gt;&lt;br /&gt;root cause&lt;br /&gt;&lt;br /&gt;java.lang.NoSuchFieldError: IS_SECURITY_ENABLED&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;org.apache.naming.resources.DirContextURLConnection.&lt;init&gt;(DirContextURLConnection.java:67)&lt;/init&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;org.apache.naming.resources.DirContextURLStreamHandler.openConnection(DirContextURLStreamHandler.java:89)&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;java.net.URL.openConnection(URL.java:945)&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:387)&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:351)&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:582)&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am still looking for a Solution for the same, I will update once i have the solution..&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Solution in My Scenario:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;For me it is the issue with the JAR Conflicts. I was having naming-factory.jar in Tomcat/Lib was conflicting with some other JAR's.I Just removed it and the issue got resolved.&lt;br /&gt;&lt;br /&gt;I am not sure in every case the same JAR, But it is&amp;nbsp;always&amp;nbsp;the JAR&amp;nbsp;Conflict.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-7850547443763860197?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/7850547443763860197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=7850547443763860197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/7850547443763860197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/7850547443763860197'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/12/error-in-jsp-tomcat-6-java-6.html' title='Error in JSP Tomcat 6, Java 6 javax.servlet.ServletException: java.lang.NoSuchFieldError: IS_SECURITY_ENABLED'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-5690039120227177453</id><published>2011-08-11T00:21:00.001-07:00</published><updated>2011-08-11T00:21:35.802-07:00</updated><title type='text'>How to enable JBoss access on network</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While Starting the server use the following.&lt;br /&gt;E:\Research\Softwares\jboss-5.1.0.GA\bin&amp;gt;run.bat -b 0.0.0.0&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-5690039120227177453?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/5690039120227177453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=5690039120227177453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5690039120227177453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5690039120227177453'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/08/how-to-enable-jboss-access-on-network.html' title='How to enable JBoss access on network'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-8177546223106016317</id><published>2011-08-06T18:01:00.000-07:00</published><updated>2011-08-07T21:47:55.325-07:00</updated><title type='text'>Make Cheapest Data Card in India 2.5GB @ IRS 65 with Speed for Voice Chat.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;We know we all are behind finding different ways of getting online always, or keep tweeting through mobiles, or you can simply say youth are&amp;nbsp;Psycho/mad with simply checking the mails/Facebook updates, even they are aware that nothing important going to happen on facebook/GMails :).&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;Lets Discuss different ways of getting online in the Mobile word, Being the Android No.1 in Market, Now every one have a smart phone, I should say every student have it :), [They are the most, guys behind the Gadgets :) ] &amp;nbsp;. But here I am focussing on some kind of Programmers/Software Engineers they need Internet always, as earlier said to check mails and checking for Technology updates. Here the Mobile-Internet will not be a right option, I can make use of it, but the GPRS will be very slow and pathetic. Options are there with 3G and EDGE,&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;But if i dont want to spent hundreds on Portable device with Internet connection, and I need pretty good speed for voice chat and Internet browsing, (I think we should not expect Video conference on these, Am I Right :)).&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;a href="http://www.etechbuzz.com/wp-content/etechbuzz/uploads/2011/05/Broadband-data-cards-prices-India.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="114" src="http://www.etechbuzz.com/wp-content/etechbuzz/uploads/2011/05/Broadband-data-cards-prices-India.jpg" width="200" /&gt;&lt;/a&gt;Here we have different Data Cards Available in Indian Market.&amp;nbsp;Now almost every telephone Companies provides the Data cards. Such as BSNL, Reliance, MTS , TATA Photon. Every one provides 3G Service too. &amp;nbsp; But the cost of very less speed internet data card cost 1500-1700 initial cost and 40-500 per month for 500MB to 2 GB Data, isnt costing very high on this Internet world.&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;On discussion with other friends abroad, i came to know the 3G Modem, which is available in Indian Market too, But India have it , but integrated with any mobile operators SIM Card/ Data Card.&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;Now lets come to the point, I did some adjustment with one Internet 3G Modem, I am able to browse on a wonderful speed provides better clarity on Voice chatting.&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;How to make a Data Card costing IRS 50-60 and having Browsing limit to 2-3GB per month [Monthly Expense for Portable Device is IRS:50-65], is it Interesting to you.&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;How I achieved it is I got a 3G Modem from one of My friend, I bought one TATA DOCOMO SIM Card for RS 70 (A good talk time with it.), Re Charged with IRS:65 for 2.5 GB GPRS.&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;If you want to buy 3G Modem, it cost 900-1200 in Indian Market, you can get it in&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;Bangalore - SP Road, the best place to get electronic items very cheap.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;New Delhi - Nehru Place, The biggest Computer Market in India.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;This device will have the default application inside to support Windows Operating System. Just you plug and start browsing by putting the SIM Card inside.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;The settings can be done as follows.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;b&gt;&lt;u&gt;Step 1&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;a href="http://1.bp.blogspot.com/-rRB4swnCgi0/Tj0B9EWxmkI/AAAAAAAABl0/eC0BflFnvYY/s1600/0.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="248" src="http://1.bp.blogspot.com/-rRB4swnCgi0/Tj0B9EWxmkI/AAAAAAAABl0/eC0BflFnvYY/s400/0.JPG" width="400" /&gt;&lt;/a&gt;The application GUI will looks same as this, may be different in colours,&amp;nbsp;Because i saw in Idea Data Card, which have the same GUI with IDEA Yellow&amp;nbsp;colour&amp;nbsp;instead of this light blue screen :) :&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;a href="http://3.bp.blogspot.com/-uICdF_pOHCI/Tj0CUaR8N0I/AAAAAAAABl4/1kWa2umN78c/s1600/1.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="239" src="http://3.bp.blogspot.com/-uICdF_pOHCI/Tj0CUaR8N0I/AAAAAAAABl4/1kWa2umN78c/s320/1.JPG" width="320" /&gt;&lt;/a&gt;&lt;b style="text-decoration: underline;"&gt;Step 2: &lt;/b&gt;Open the Tools--&amp;gt; Options, here you will get the following screen. Do the settings as given in image.&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;a href="http://3.bp.blogspot.com/-ZcM_-cdo5Bw/Tj0CV4ImbrI/AAAAAAAABl8/pqYd2xKGv_M/s1600/2.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="238" src="http://3.bp.blogspot.com/-ZcM_-cdo5Bw/Tj0CV4ImbrI/AAAAAAAABl8/pqYd2xKGv_M/s320/2.JPG" width="320" /&gt;&lt;/a&gt;&lt;b style="text-decoration: underline;"&gt;Step 3:&lt;/b&gt;In the Text Message Screen you dont need to do any Changes,&amp;nbsp;let it got with default settings.&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;a href="http://1.bp.blogspot.com/-UTPQncU32mg/Tj0CWq3OoRI/AAAAAAAABmA/orGz8xNwftg/s1600/3.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="238" src="http://1.bp.blogspot.com/-UTPQncU32mg/Tj0CWq3OoRI/AAAAAAAABmA/orGz8xNwftg/s320/3.JPG" width="320" /&gt;&lt;/a&gt;&lt;u style="font-weight: bold;"&gt;Step 4:&lt;/u&gt;In the Screen of Profile Management we have the settings for the GPRS/Internet.&amp;nbsp;You can get these settings from customer cares as well.&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;b style="text-decoration: underline;"&gt;Step 5:&amp;nbsp;&lt;/b&gt;The Network settings to be done as given in Image "Screen Networ 1" and&amp;nbsp;"Screen Networ 2"&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-WWB2Gp3baYI/Tj3oNN-kSHI/AAAAAAAABmE/yBDs0Y2LP0k/s1600/5.JPG" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="238" src="http://2.bp.blogspot.com/-WWB2Gp3baYI/Tj3oNN-kSHI/AAAAAAAABmE/yBDs0Y2LP0k/s320/5.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Screen Netwrok 1&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-3qku_szH5ww/Tj3oNvxhcXI/AAAAAAAABmI/kFylwfkIxF0/s1600/4.JPG" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="238" src="http://1.bp.blogspot.com/-3qku_szH5ww/Tj3oNvxhcXI/AAAAAAAABmI/kFylwfkIxF0/s320/4.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Screen Network 2.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;By Clicking New you can create a new Profile i created with Name "Docomo".&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;Set the APN as static. and the APN for DOCOMO is "TATA.DOCOMO.INTERNET".&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;Keep the username and password Blank. But the Access Number is *99# I think this is the number for all the providers.&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;Once you are done with this click ok,&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;Now you can see the profile in the Main Screen (As in Step 1.). Click on Connect. Now your system is in Internet, If you are facing any issues on connecting. Talk to customer Care and get the APN i mentioned and the Access Point Number (*99#) .&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;Thank you Guys, Enjoy the Cheapest Data Card.&lt;/span&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;Forgot to upload the Internet speed Graph I was getting.&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-isJbGjnaWQ4/Tj9p_-g-jsI/AAAAAAAABmM/60FeGn9Jhi0/s1600/Network+Speed.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="247" src="http://2.bp.blogspot.com/-isJbGjnaWQ4/Tj9p_-g-jsI/AAAAAAAABmM/60FeGn9Jhi0/s400/Network+Speed.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em; text-align: justify;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-8177546223106016317?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/8177546223106016317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=8177546223106016317' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/8177546223106016317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/8177546223106016317'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/08/make-cheapest-data-card-in-india-25gb.html' title='Make Cheapest Data Card in India 2.5GB @ IRS 65 with Speed for Voice Chat.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-rRB4swnCgi0/Tj0B9EWxmkI/AAAAAAAABl0/eC0BflFnvYY/s72-c/0.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-6931821318810886580</id><published>2011-08-01T22:46:00.000-07:00</published><updated>2011-08-01T22:46:10.694-07:00</updated><title type='text'>How to lock Windows using Java Program</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;pre class="brush: java"&gt;package com;&lt;br /&gt;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;&lt;br /&gt;public class LockMachine {&lt;br /&gt; public static void main(String[] args) {&lt;br /&gt;  String WINDOWS_LOCK_COMMAND="rundll32.exe user32.dll, LockWorkStation";&lt;br /&gt;  Runtime rt = Runtime.getRuntime();&lt;br /&gt;&lt;br /&gt;  try {&lt;br /&gt;   rt.exec(WINDOWS_LOCK_COMMAND);&lt;br /&gt;&lt;br /&gt;  } catch (IOException e1) {&lt;br /&gt;   e1.printStackTrace();&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-6931821318810886580?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/6931821318810886580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=6931821318810886580' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/6931821318810886580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/6931821318810886580'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/08/how-to-lock-windows-using-java-program.html' title='How to lock Windows using Java Program'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-1699352312929416061</id><published>2011-04-14T03:01:00.000-07:00</published><updated>2011-04-14T03:01:59.844-07:00</updated><title type='text'>HR Session on Salary Restructure</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-wAHzVtwZDoA/TabFtdbWMcI/AAAAAAAABhE/MxFpIMKZKns/s1600/Salary+revision.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="474" src="http://3.bp.blogspot.com/-wAHzVtwZDoA/TabFtdbWMcI/AAAAAAAABhE/MxFpIMKZKns/s640/Salary+revision.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Salary Restructure means confusing Employees, Only one question left with me&lt;br /&gt;"&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Abey saala mujko kya deraha hai ?&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-1699352312929416061?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/1699352312929416061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=1699352312929416061' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/1699352312929416061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/1699352312929416061'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/04/hr-session-on-salary-restructure.html' title='HR Session on Salary Restructure'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-wAHzVtwZDoA/TabFtdbWMcI/AAAAAAAABhE/MxFpIMKZKns/s72-c/Salary+revision.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-3322617175754219498</id><published>2011-03-25T06:45:00.000-07:00</published><updated>2011-03-25T06:45:06.506-07:00</updated><title type='text'>Insert LONGTEXT in Database using Hibernate</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;I would like to share my experience while inserting a Big XML file to the Database, The column dataType is LONGTEXT.&amp;nbsp;The XML File sine is about 1.2MB, when i tried to insert in database using the following Hibernate Code i got the Exception as follows.&lt;br /&gt;&lt;b&gt;&lt;u&gt;Code&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;Transaction transaction = &amp;nbsp;sessionFactory.getCurrentSession().beginTransaction();&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;transaction.begin();&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;sessionFactory.getCurrentSession().persist(xmlData);&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;transaction.commit();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Where xmlData is as follows&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;public class XMLData {&lt;br /&gt; private int id;&lt;br /&gt; private String xml;&lt;br /&gt;&lt;br /&gt; public int getId() {&lt;br /&gt;  return id;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public void setId(int id) {&lt;br /&gt;  this.id = id;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public String getXml() {&lt;br /&gt;  return xml;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public void setXml(String xml) {&lt;br /&gt;  this.xml = xml;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;I got the following Exception.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;Exception in thread "main" org.hibernate.exception.GenericJDBCException: could not insert: [org.cgi.model.Server]&lt;br /&gt; at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)&lt;br /&gt; at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)&lt;br /&gt; at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)&lt;br /&gt; at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:40)&lt;br /&gt; at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2093)&lt;br /&gt; at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2573)&lt;br /&gt; at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:47)&lt;br /&gt; at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)&lt;br /&gt; at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:290)&lt;br /&gt; at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:180)&lt;br /&gt; at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108)&lt;br /&gt; at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131)&lt;br /&gt; at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87)&lt;br /&gt; at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)&lt;br /&gt; at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:618)&lt;br /&gt; at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:592)&lt;br /&gt; at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:596)&lt;br /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;br /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br /&gt; at java.lang.reflect.Method.invoke(Method.java:597)&lt;br /&gt; at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:301)&lt;br /&gt; at $Proxy0.persist(Unknown Source)&lt;br /&gt; at org.cgi.dao.manager.ServerDAO.persist(ServerDAO.java:44)&lt;br /&gt; at org.cgi.dao.manager.test.TestManager.main(TestManager.java:23)&lt;br /&gt;Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1094608 &amp;gt; 177152). You can change this value on the server by setting the max_allowed_packet' variable.&lt;br /&gt; at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3285)&lt;br /&gt; at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1970)&lt;br /&gt; at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)&lt;br /&gt; at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)&lt;br /&gt; at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)&lt;br /&gt; at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)&lt;br /&gt; at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333)&lt;br /&gt; at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318)&lt;br /&gt; at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:73)&lt;br /&gt; at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:33)&lt;br /&gt; ... 21 more&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;u&gt;Solution:&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;As it is mentioned in the Exception we need to increase the&amp;nbsp;&lt;/span&gt;max_allowed_packet variable of MySQL server.&lt;br /&gt;By Default MySQL provides the size of 1 MB. you can read the value by the following Command in MySQL Command Prompt.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: purple;"&gt;show variables like '%max_allowed_packet';&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-MxFZmVQkUuQ/TYya55-FdsI/AAAAAAAABgg/RNCv_UB5ibM/s1600/MySQL+max+size+allowed.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="161" src="https://lh5.googleusercontent.com/-MxFZmVQkUuQ/TYya55-FdsI/AAAAAAAABgg/RNCv_UB5ibM/s320/MySQL+max+size+allowed.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Now you can Set the Value by using the following Command.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: purple;"&gt;set global max_allowed_packet=16777216;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: purple;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: purple;"&gt;For Reference&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: #474b4e; font-family: Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;The maximum allowed packet size is 1GB.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-3322617175754219498?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/3322617175754219498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=3322617175754219498' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3322617175754219498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3322617175754219498'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/03/insert-longtext-in-database-using.html' title='Insert LONGTEXT in Database using Hibernate'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh5.googleusercontent.com/-MxFZmVQkUuQ/TYya55-FdsI/AAAAAAAABgg/RNCv_UB5ibM/s72-c/MySQL+max+size+allowed.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-3517652284499147248</id><published>2011-03-24T00:05:00.001-07:00</published><updated>2011-03-24T00:05:12.115-07:00</updated><title type='text'>Memoir of Veegaland Trip</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/tJQET74kggo/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/tJQET74kggo?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/tJQET74kggo?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-3517652284499147248?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/3517652284499147248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=3517652284499147248' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3517652284499147248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3517652284499147248'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/03/memoir-of-veegaland-trip.html' title='Memoir of Veegaland Trip'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-3540438371373913366</id><published>2011-03-07T01:11:00.000-08:00</published><updated>2011-03-07T01:11:17.503-08:00</updated><title type='text'>Create Executable JAR File Using Eclipse</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;We all are aware of the main part of an Executable JAR file is keeping the MANIFEST.MF in META-INF Folder. Also inside the&amp;nbsp;MANIFEST.MF we need to provide the following Details.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: sans-serif; font-size: small; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;"&gt;Manifest-Version: 1.0&lt;br /&gt;  Main-Class: com.example.Example&lt;br /&gt;  Class-Path: dependent.jar&lt;/pre&gt;&lt;pre style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;Classpath will be required in case you have more dependent jars are there, a&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;lso we create the Same jar using the JAR Command provided by Java as follows.&lt;/span&gt;&lt;/pre&gt;&lt;pre style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;pre style="font-family: 'Times New Roman';"&gt;jar cvfm myFile.jar myManifestFile *.class&lt;/pre&gt;&lt;pre style="font-family: 'Times New Roman';"&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;I found that some of the executable jars will through ClassNotFound Exception.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;Hence i recommend to follow the Eclipse Jar Export Option.&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;The test Project i am going through have a Sample Java file to open a Window using the Java Swing.&lt;/span&gt;&lt;/pre&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-x_9WLMefVrA/TXSfQtvspqI/AAAAAAAABgE/p_usKHp1NzM/s1600/project.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://lh3.googleusercontent.com/-x_9WLMefVrA/TXSfQtvspqI/AAAAAAAABgE/p_usKHp1NzM/s1600/project.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Once I execute the project the Output is as Follows.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-AyNp7Ea2oGg/TXSfbGbJFcI/AAAAAAAABgI/Z5rmwRYTZyI/s1600/project_Execution.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://lh6.googleusercontent.com/-AyNp7Ea2oGg/TXSfbGbJFcI/AAAAAAAABgI/Z5rmwRYTZyI/s320/project_Execution.JPG" width="294" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Now lets Create the JAR to run the Application.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Step 1: Right Click on the Project and Select Export.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-r8gZAd_Yv60/TXSgWVHJtkI/AAAAAAAABgM/AvIN6u9iQ-M/s1600/export1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://lh3.googleusercontent.com/-r8gZAd_Yv60/TXSgWVHJtkI/AAAAAAAABgM/AvIN6u9iQ-M/s320/export1.JPG" width="199" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Step 2: Select teh Export Destination as Runnable JAR File, and click Next.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-7lMdsIUvtr8/TXSglNF2cMI/AAAAAAAABgQ/iAHHA4EwreI/s1600/export+2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://lh3.googleusercontent.com/-7lMdsIUvtr8/TXSglNF2cMI/AAAAAAAABgQ/iAHHA4EwreI/s320/export+2.JPG" width="274" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Step 3: Select the Class with main method, which need to be executed initially and teh Destination Folder where the Jar need to be saved. Here i selected "C:\test.jar"&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-chXlLhqQ5oM/TXSg_ycHJEI/AAAAAAAABgU/-DFqCGJwUE8/s1600/export+3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://lh3.googleusercontent.com/-chXlLhqQ5oM/TXSg_ycHJEI/AAAAAAAABgU/-DFqCGJwUE8/s320/export+3.JPG" width="281" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Step 4: Click Finish, Now your Executable Jar is ready @ C:\test.jar.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Hope you enjoyed the work through.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-3540438371373913366?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/3540438371373913366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=3540438371373913366' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3540438371373913366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3540438371373913366'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/03/create-executable-jar-file-using.html' title='Create Executable JAR File Using Eclipse'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh3.googleusercontent.com/-x_9WLMefVrA/TXSfQtvspqI/AAAAAAAABgE/p_usKHp1NzM/s72-c/project.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-7679441461233572712</id><published>2011-01-19T02:48:00.000-08:00</published><updated>2011-03-29T03:48:52.464-07:00</updated><title type='text'>Best Tutorial for SVN Installation on Windows</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://www.codinghorror.com/blog/2008/04/setting-up-subversion-on-windows.html"&gt;http://www.codinghorror.com/blog/2008/04/setting-up-subversion-on-windows.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is the best Tutorial I found on the Net For Installing SVN on Windows.&lt;br /&gt;The following Link help you to Download SVN&amp;nbsp;svn-1.4.6-setup.&lt;br /&gt;&lt;br /&gt;Once you have Installed in Program files it provides the Tutorials, Which resolves most of u r concerns.&lt;br /&gt;&lt;br /&gt;How to Configure SVN Server as a Windows Service: Best Article&lt;br /&gt;&lt;br /&gt;&lt;h3 style="clear: both; color: black; font-family: Arial, Verdana, Geneva, sans-serif; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 1.1em;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;a href="http://subversion.open.collab.net/articles/svnserve-service.htm"&gt;&lt;span class="Apple-style-span" style="font-size: small; font-weight: normal;"&gt;Configuring svnserve to Run as a Windows Service&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://svn.spears.at/"&gt;http://svn.spears.at/&lt;/a&gt;&amp;nbsp;: The complete Tutorials.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-7679441461233572712?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/7679441461233572712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=7679441461233572712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/7679441461233572712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/7679441461233572712'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/01/best-tutorial-for-svn-installation-on.html' title='Best Tutorial for SVN Installation on Windows'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-4605544320405099503</id><published>2011-01-06T22:03:00.000-08:00</published><updated>2011-01-06T22:17:14.189-08:00</updated><title type='text'>Conversion between Array and java.util.List</title><content type='html'>While dealing with Autogenerated Classes Like JAXB or any other framework we need to convert from Array to List or vice versa..&lt;br /&gt;&lt;br /&gt;Object[] --&amp;gt; java.util.List &lt;br /&gt;or&lt;br /&gt;java.util.List --&amp;gt;  Object[].&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Array to List&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;&lt;br /&gt;    public static void main(String[] args) {&lt;br /&gt;           String[] names= {"Name 1","Name 3","Name 4"};&lt;br /&gt;           List&lt;string&gt; nameList=Arrays.asList(names);&lt;br /&gt;           System.out.println("List Size is :"+nameList.size());&lt;br /&gt;           System.out.println("Names are :"+nameList);&lt;br /&gt;    }&lt;br /&gt;&lt;/pre&gt;It will give the Output as &lt;br /&gt;&lt;pre class="brush: java"&gt;&lt;br /&gt;   List Size is :3&lt;br /&gt;   Names are :[Name 1, Name 3, Name 4]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;We know how to insert the data in some position in List, But the insertion will not be allowed in the List provided by Arrays.asList,&lt;br /&gt;&lt;br /&gt;It throws the following Exception when we do &lt;br /&gt;&lt;pre class="brush: java"&gt;&lt;br /&gt;   nameList.add(2,"Name 2");&lt;br /&gt;   or &lt;br /&gt;   nameList.add("Name 2");&lt;br /&gt;&lt;br /&gt;   Exception in thread "main" java.lang.UnsupportedOperationException&lt;br /&gt;           at java.util.AbstractList.add(AbstractList.java:151)&lt;br /&gt;           at java.util.AbstractList.add(AbstractList.java:89)&lt;br /&gt;           at org.work.corejava.collection.ArrayToList.main(ArrayToList.java:12)&lt;br /&gt;&lt;/pre&gt;Reason: &lt;a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Arrays.html#asList(T...)"&gt;Reference&lt;/a&gt;&lt;br /&gt;Arrays.asList Returns a fixed-size list backed by the specified array. (Changes to the returned list "write through" to the array.) This method acts as bridge between array-based and collection-based APIs, in combination with Collection.toArray.&lt;br /&gt;&lt;br /&gt;But as the array supported &lt;br /&gt;&lt;pre class="brush: java"&gt;&lt;br /&gt;    names[1] ="Name 2";&lt;br /&gt;    The same functionality will be supported by List also , as follows.&lt;br /&gt;    nameList.set(1,"Name 2");&lt;br /&gt;&lt;/pre&gt;&lt;b&gt;List to Array &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;List to Array can be done using the following Code.&lt;br /&gt;&lt;pre class="brush: java"&gt;String[] namesArray = nameList.toArray(new String[0]);&lt;br /&gt;      in JDK 1.4 we need to do teh following type casting.&lt;br /&gt;      String[] namesArray = (String[])nameList.toArray(new String[0]);&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-4605544320405099503?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/4605544320405099503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=4605544320405099503' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/4605544320405099503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/4605544320405099503'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/01/conversion-between-array-and.html' title='Conversion between Array and java.util.List'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-1774894654599128381</id><published>2011-01-03T01:38:00.000-08:00</published><updated>2011-01-03T01:38:49.387-08:00</updated><title type='text'>How you can stop Rumors, a Simple way is here....</title><content type='html'>Here is something which I thought is an Excellent Stuff to share...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;QUOTE&lt;br /&gt;&lt;br /&gt;In India around 350 BC in Magadh, Chanakya was widely lauded for his wisdom.&lt;br /&gt;&lt;br /&gt;One day an acquaintance ran up to him excitedly and said, "Chanakya ji, do you know what I just heard about Pandit Haridas?"&lt;br /&gt;&lt;br /&gt;"Wait a moment," Chanakya replied, "Before you tell me I'd like you to pass a little test. It's called the Triple Filter Test."&lt;br /&gt;&lt;br /&gt;'Triple filter?" asked the acquaintance.&lt;br /&gt;&lt;br /&gt;"That's right," Chanakya continued, "Before you talk to me about Pandit Haridas, let's take a moment to filter what you're going to say. The first filter is Truth. Have you made absolutely sure that what you are about to tell me is true?"&lt;br /&gt;&lt;br /&gt;"No," the man said, "Actually I just heard about it."&lt;br /&gt;&lt;br /&gt;"All right," said Chanakya, "So you don't really know if it's true or not. Now let's try the second filter, the filter of Goodness. Is what you are about to tell me about Pandit Haridas something good?"&lt;br /&gt;&lt;br /&gt;"No, on the contrary..."&lt;br /&gt;&lt;br /&gt;"So," Chanakya continued, "You want to tell me something about Pandit Haridas that may be bad, even though you're not certain it's true?"&lt;br /&gt;&lt;br /&gt;The man shrugged, a little embarrassed. Chanakya continued, "You may still pass the test though, because there is a third filter, the filter of Usefulness. Is what you want to tell me about Pandit Haridas going to be useful to me?"&lt;br /&gt;&lt;br /&gt;"No, not really."&lt;br /&gt;&lt;br /&gt;"Well," concluded Chanakya, "If what you want to tell me is neither True nor Good nor even useful, why tell it to me or anyone at all?"&lt;br /&gt;&lt;br /&gt;The man was bewildered and ashamed. This is an example of why Chanakya was a great politician and held in such high esteem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-1774894654599128381?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/1774894654599128381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=1774894654599128381' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/1774894654599128381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/1774894654599128381'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2011/01/how-you-can-stop-rumors-simple-way-is.html' title='How you can stop Rumors, a Simple way is here....'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-211716931301772275</id><published>2010-12-21T01:24:00.000-08:00</published><updated>2010-12-21T01:41:11.775-08:00</updated><title type='text'>Java Resource Locator. Best practice to open a File</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/TRBclKudh8I/AAAAAAAABTA/ki-jyw1C4EQ/s1600/project.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/TRBclKudh8I/AAAAAAAABTA/ki-jyw1C4EQ/s1600/project.JPG" /&gt;&lt;/a&gt;Here I would like to discuss about the Loading of a Resource in a Java Application.For example lets take the Java sample eclipse project Test. Here we have different Package as 1. org.work.corejava, 2.&amp;nbsp;org.work.corejava.file.csvreader also 3.org.work.corejava.xml.parser,&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;In the above Example if i want to read the InputData.txt file need to be read in the ResouceLocator.java,&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Normally we do as follows.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;pre class="brush: java"&gt;public class ResourceLocator {&lt;br /&gt; public static void main(String[] args) {&lt;br /&gt;  File fileIn = new File("InputData.TXT");&lt;br /&gt;  FileReader fileReader = null;&lt;br /&gt;  BufferedReader reader = null;&lt;br /&gt;  try {&lt;br /&gt;   fileReader = new FileReader(fileIn);&lt;br /&gt;   reader = new BufferedReader(fileReader);&lt;br /&gt;  } catch (FileNotFoundException e) {&lt;br /&gt;   e.printStackTrace();&lt;br /&gt;  }finally{&lt;br /&gt;   try{&lt;br /&gt;    reader.close();&lt;br /&gt;   }catch(Exception e){}&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;But It will throw the following Exception&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;pre class="brush: java"&gt;java.io.FileNotFoundException: InputData.TXT (The system cannot find the file specified)&lt;br /&gt; at java.io.FileInputStream.open(Native Method)&lt;br /&gt; at java.io.FileInputStream.(Unknown Source)&lt;br /&gt; at java.io.FileReader.(Unknown Source)&lt;br /&gt; at org.work.corejava.ResourceLocator.main(ResourceLocator.java:25)&lt;br /&gt;&lt;/pre&gt;&lt;pre class="brush: java"&gt;&lt;/pre&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The reason behind this Exception is the Application is searching the InputData.TXT in the base class path. Basically inside the SRC Folder. But the File is in the src/org/work/corejava folder. To avoid the above exception we can simply copy the&amp;nbsp;InputData.TXT to the src folder and the issue resolved. otherwise provide the Entire path as follows.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;pre class="brush: java"&gt;File fileIn = new File("D:\\Development\\workspace\\Test\\org\\work\\corejava\\InputData.TXT");&lt;br /&gt;&lt;/pre&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The best way to do this is by using the Class.getResource Method as follows.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;URL url=ResourceLocator.class.getResource("InputData.TXT");&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;fileReader = new FileReader(url.getFile());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;&lt;u&gt;Here we will keep the File and the Java FIle in the same package.&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The complete program is as follows.&lt;/div&gt;&lt;pre class="brush: java"&gt;import java.io.BufferedReader;&lt;br /&gt;import java.io.FileNotFoundException;&lt;br /&gt;import java.io.FileReader;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import java.net.URL;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt; * To find the Resource by using the Java Resource Locator.&lt;br /&gt; * @author askeralim&lt;br /&gt; *&lt;br /&gt; */&lt;br /&gt;public class ResourceLocator {&lt;br /&gt; public static void main(String[] args) throws IOException {&lt;br /&gt;  FileReader fileReader = null;&lt;br /&gt;  BufferedReader reader = null;&lt;br /&gt;  try {&lt;br /&gt;   URL url=ResourceLocator.class.getResource("InputData.TXT");&lt;br /&gt;   fileReader = new FileReader(url.getFile());&lt;br /&gt;   reader = new BufferedReader(fileReader);&lt;br /&gt;   String data =reader.readLine();&lt;br /&gt;   System.out.println(data);&lt;br /&gt;  } catch (FileNotFoundException e) {&lt;br /&gt;   e.printStackTrace();&lt;br /&gt;  }finally{&lt;br /&gt;   try{&lt;br /&gt;    reader.close();&lt;br /&gt;   }catch(Exception e){}&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-211716931301772275?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/211716931301772275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=211716931301772275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/211716931301772275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/211716931301772275'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/12/java-resource-locator.html' title='Java Resource Locator. Best practice to open a File'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E9mmpB2Ty4I/TRBclKudh8I/AAAAAAAABTA/ki-jyw1C4EQ/s72-c/project.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-3617697548536545720</id><published>2010-12-20T02:36:00.000-08:00</published><updated>2010-12-20T02:36:10.674-08:00</updated><title type='text'>The blind man with a vision</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_E9mmpB2Ty4I/TQ8xgO55TlI/AAAAAAAABS8/JXAb2__tksk/s1600/ashish-240_small.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_E9mmpB2Ty4I/TQ8xgO55TlI/AAAAAAAABS8/JXAb2__tksk/s1600/ashish-240_small.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="color: #181818; display: block; font-family: arial, helvetica, clean, sans-serif; font-size: 1em; line-height: 1.4em; margin-bottom: 1.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Breaking records has been a way of life for this 30-year-old banker from Mumbai -- be it in life, at work or in sports. But he is a trader with a difference.&lt;/div&gt;&lt;div style="color: #181818; display: block; font-family: arial, helvetica, clean, sans-serif; font-size: 1em; line-height: 1.4em; margin-bottom: 1.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;a href="http://us.lrd.yahoo.com/_ylt=Ash86MAFYI87225JQyMgHl44a7lG;_ylu=X3oDMTE1MjNhMmcxBHBvcwMxBHNlYwNuZXdzYXJzdGFydARzbGsDYXNoaXNoZ295YWw-/SIG=11edab377/**http%3A//en.wikipedia.org/wiki/Ashish_Goyal" style="color: #1a5488; line-height: 1.22em; text-decoration: none;" target="_blank"&gt;Ashish Goyal&amp;nbsp;&lt;/a&gt;works for&amp;nbsp;&lt;a href="http://us.lrd.yahoo.com/_ylt=AtxUeRZu794SlKsIPw.ozMU4a7lG;_ylu=X3oDMTE2dmxka2gzBHBvcwMyBHNlYwNuZXdzYXJzdGFydARzbGsDanBtb3JnYW5jaGFz/SIG=15q10ugfm/**http%3A//careers.jpmorgan.com/cm/ContentServer%3Fpagename=JPM_redesign/JPM_Content_P/IB_Generic_Content_Page_Template%26c=JPM_Content_P%26cid=1159394513881%26Employee_Id=1159397903243" style="color: #1a5488; line-height: 1.22em; text-decoration: none;" target="_blank"&gt;J P Morgan Chase as a chief investment officer&lt;/a&gt;&amp;nbsp;and is passionate about macroeconomics and the financial markets. And Mr Goyal is blind.&lt;/div&gt;&lt;div style="color: #181818; display: block; font-family: arial, helvetica, clean, sans-serif; font-size: 1em; line-height: 1.4em; margin-bottom: 1.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;a href="http://us.lrd.yahoo.com/_ylt=Ao6ZTH9e_yTnTyYD8UKPatw4a7lG;_ylu=X3oDMTE2YWJqZDFhBHBvcwMzBHNlYwNuZXdzYXJzdGFydARzbGsDYW5ld3lvcmt0aW1l/SIG=12q2tq8fa/**http%3A//dealbook.nytimes.com/2010/12/02/managing-risk-for-jpmorgan-and-blindness/%3Fhp" style="color: #1a5488; line-height: 1.22em; text-decoration: none;" target="_blank"&gt;A New York Times article&lt;/a&gt;&amp;nbsp;says looking at Ashish work one can hardly figure out that he is visually impaired-the speed and accuracy with which he manages billions of dollars of the bank's exposure to risks like foreign exchange fluctuations.&lt;/div&gt;&lt;div style="color: #181818; display: block; font-family: arial, helvetica, clean, sans-serif; font-size: 1em; line-height: 1.4em; margin-bottom: 1.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Outside his official assignment, Ashish represented the Metro London Sports Club in 2009 in the United Kingdom's domestic blind cricket league. In his very first year, he became a prominent member of the team contributing to winning the UK league. His friends find it difficult to keep pace with his social life that ranges from theatre, music, charity work to Formula F1, tennis and globetrotting to 'watching' cricket matches.&lt;/div&gt;&lt;div style="color: #181818; display: block; font-family: arial, helvetica, clean, sans-serif; font-size: 1em; line-height: 1.4em; margin-bottom: 1.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Ashish, who was born with perfect vision, suffers from a disease called retinitis pigmentosa, which robbed him of his sight after the age of 15. He did not lose his vision at one go, but gradually went blind over a period of three years. By 18, he couldn't see anything at all.&lt;br style="line-height: 1.22em;" /&gt;He was the first blind student to make it to Wharton Business School, Philadelphia, four years ago. If that isn't enough, Ashish cleared his MBA with honours and went on to win the Joseph P Wharton award, given to one student every year who symbolizes Wharton's way of life.&lt;/div&gt;&lt;div style="color: #181818; display: block; font-family: arial, helvetica, clean, sans-serif; font-size: 1em; line-height: 1.4em; margin-bottom: 1.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Ashish, who now lives in London, is the first blind trader at J P Morgan, and possibly in any bank anywhere in the world. His near-impossible feat has earned him the National Award for the Empowerment of Persons with Disabilities, 2010, an honour that he will receive at the hands of the President of India this week.&lt;/div&gt;&lt;div style="color: #181818; display: block; font-family: arial, helvetica, clean, sans-serif; font-size: 1em; line-height: 1.4em; margin-bottom: 1.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Ironically, while Ashish will return to India to receive his award, this country has been a trifle hostile to him during his first attempt at entering the job market. He had a tough time getting a job in India, despite securing a second rank in his batch while doing an MBA at NMIMS.&lt;/div&gt;&lt;div style="color: #181818; display: block; font-family: arial, helvetica, clean, sans-serif; font-size: 1em; line-height: 1.4em; margin-bottom: 1.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Copied From :&lt;a href="http://in.finance.yahoo.com/news/The-blind-man-vision-yahoofinancein-2609721214.html?x=0"&gt;Yahoo Finance&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-3617697548536545720?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/3617697548536545720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=3617697548536545720' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3617697548536545720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3617697548536545720'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/12/blind-man-with-vision.html' title='The blind man with a vision'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_E9mmpB2Ty4I/TQ8xgO55TlI/AAAAAAAABS8/JXAb2__tksk/s72-c/ashish-240_small.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-3481720157853269178</id><published>2010-11-30T08:18:00.000-08:00</published><updated>2011-03-23T23:56:33.747-07:00</updated><title type='text'>Stay Hungry. Stay Foolish.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, FreeSans, sans-serif; font-size: 12px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, FreeSans, sans-serif; font-style: normal; line-height: normal;"&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;h1 style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: black; font-size: 30px; font-style: inherit; font-weight: inherit; font: normal normal normal 250%/normal Georgia, 'Times New Roman', serif; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;'You've got to find what you love,' Jobs says&lt;/em&gt;&lt;/h1&gt;&lt;br /&gt;&lt;em style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;This is the text of the Commencement address by Steve Jobs, CEO of Apple Computer and of Pixar Animation Studios, delivered on June 12, 2005.&lt;/em&gt;&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;I am honored to be with you today at your commencement from one of the finest universities in the world. I never graduated from college. Truth be told, this is the closest I've ever gotten to a college graduation. Today I want to tell you three stories from my life. That's it. No big deal. Just three stories.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The first story is about connecting the dots.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;I dropped out of Reed College after the first 6 months, but then stayed around as a drop-in for another 18 months or so before I really quit. So why did I drop out?&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;It started before I was born. My biological mother was a young, unwed college graduate student, and she decided to put me up for adoption. She felt very strongly that I should be adopted by college graduates, so everything was all set for me to be adopted at birth by a lawyer and his wife. Except that when I popped out they decided at the last minute that they really wanted a girl. So my parents, who were on a waiting list, got a call in the middle of the night asking: "We have an unexpected baby boy; do you want him?" They said: "Of course." My biological mother later found out that my mother had never graduated from college and that my father had never graduated from high school. She refused to sign the final adoption papers. She only relented a few months later when my parents promised that I would someday go to college.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;And 17 years later I did go to college. But I naively chose a college that was almost as expensive as Stanford, and all of my working-class parents' savings were being spent on my college tuition. After six months, I couldn't see the value in it. I had no idea what I wanted to do with my life and no idea how college was going to help me figure it out. And here I was spending all of the money my parents had saved their entire life. So I decided to drop out and trust that it would all work out OK. It was pretty scary at the time, but looking back it was one of the best decisions I ever made. The minute I dropped out I could stop taking the required classes that didn't interest me, and begin dropping in on the ones that looked interesting.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;It wasn't all romantic. I didn't have a dorm room, so I slept on the floor in friends' rooms, I returned coke bottles for the 5¢ deposits to buy food with, and I would walk the 7 miles across town every Sunday night to get one good meal a week at the Hare Krishna temple. I loved it. And much of what I stumbled into by following my curiosity and intuition turned out to be priceless later on. Let me give you one example:&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Reed College at that time offered perhaps the best calligraphy instruction in the country. Throughout the campus every poster, every label on every drawer, was beautifully hand calligraphed. Because I had dropped out and didn't have to take the normal classes, I decided to take a calligraphy class to learn how to do this. I learned about serif and san serif typefaces, about varying the amount of space between different letter combinations, about what makes great typography great. It was beautiful, historical, artistically subtle in a way that science can't capture, and I found it fascinating.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;None of this had even a hope of any practical application in my life. But ten years later, when we were designing the first Macintosh computer, it all came back to me. And we designed it all into the Mac. It was the first computer with beautiful typography. If I had never dropped in on that single course in college, the Mac would have never had multiple typefaces or proportionally spaced fonts. And since Windows just copied the Mac, it's likely that no personal computer would have them. If I had never dropped out, I would have never dropped in on this calligraphy class, and personal computers might not have the wonderful typography that they do. Of course it was impossible to connect the dots looking forward when I was in college. But it was very, very clear looking backwards ten years later.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Again, you can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something — your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;My second story is about love and loss.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;I was lucky — I found what I loved to do early in life. Woz and I started Apple in my parents garage when I was 20. We worked hard, and in 10 years Apple had grown from just the two of us in a garage into a $2 billion company with over 4000 employees. We had just released our finest creation — the Macintosh — a year earlier, and I had just turned 30. And then I got fired. How can you get fired from a company you started? Well, as Apple grew we hired someone who I thought was very talented to run the company with me, and for the first year or so things went well. But then our visions of the future began to diverge and eventually we had a falling out. When we did, our Board of Directors sided with him. So at 30 I was out. And very publicly out. What had been the focus of my entire adult life was gone, and it was devastating.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;I really didn't know what to do for a few months. I felt that I had let the previous generation of entrepreneurs down - that I had dropped the baton as it was being passed to me. I met with David Packard and Bob Noyce and tried to apologize for screwing up so badly. I was a very public failure, and I even thought about running away from the valley. But something slowly began to dawn on me — I still loved what I did. The turn of events at Apple had not changed that one bit. I had been rejected, but I was still in love. And so I decided to start over.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;I didn't see it then, but it turned out that getting fired from Apple was the best thing that could have ever happened to me. The heaviness of being successful was replaced by the lightness of being a beginner again, less sure about everything. It freed me to enter one of the most creative periods of my life.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;During the next five years, I started a company named NeXT, another company named Pixar, and fell in love with an amazing woman who would become my wife. Pixar went on to create the worlds first computer animated feature film,&amp;nbsp;&lt;em style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Toy Story&lt;/em&gt;, and is now the most successful animation studio in the world. In a remarkable turn of events, Apple bought NeXT, I returned to Apple, and the technology we developed at NeXT is at the heart of Apple's current renaissance. And Laurene and I have a wonderful family together.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;I'm pretty sure none of this would have happened if I hadn't been fired from Apple. It was awful tasting medicine, but I guess the patient needed it. Sometimes life hits you in the head with a brick. Don't lose faith. I'm convinced that the only thing that kept me going was that I loved what I did. You've got to find what you love. And that is as true for your work as it is for your lovers. Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don't settle.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;My third story is about death.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;When I was 17, I read a quote that went something like: "If you live each day as if it was your last, someday you'll most certainly be right." It made an impression on me, and since then, for the past 33 years, I have looked in the mirror every morning and asked myself: "If today were the last day of my life, would I want to do what I am about to do today?" And whenever the answer has been "No" for too many days in a row, I know I need to change something.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Remembering that I'll be dead soon is the most important tool I've ever encountered to help me make the big choices in life. Because almost everything — all external expectations, all pride, all fear of embarrassment or failure - these things just fall away in the face of death, leaving only what is truly important. Remembering that you are going to die is the best way I know to avoid the trap of thinking you have something to lose. You are already naked. There is no reason not to follow your heart.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;About a year ago I was diagnosed with cancer. I had a scan at 7:30 in the morning, and it clearly showed a tumor on my pancreas. I didn't even know what a pancreas was. The doctors told me this was almost certainly a type of cancer that is incurable, and that I should expect to live no longer than three to six months. My doctor advised me to go home and get my affairs in order, which is doctor's code for prepare to die. It means to try to tell your kids everything you thought you'd have the next 10 years to tell them in just a few months. It means to make sure everything is buttoned up so that it will be as easy as possible for your family. It means to say your goodbyes.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;I lived with that diagnosis all day. Later that evening I had a biopsy, where they stuck an endoscope down my throat, through my stomach and into my intestines, put a needle into my pancreas and got a few cells from the tumor. I was sedated, but my wife, who was there, told me that when they viewed the cells under a microscope the doctors started crying because it turned out to be a very rare form of pancreatic cancer that is curable with surgery. I had the surgery and I'm fine now.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;This was the closest I've been to facing death, and I hope it's the closest I get for a few more decades. Having lived through it, I can now say this to you with a bit more certainty than when death was a useful but purely intellectual concept:&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;No one wants to die. Even people who want to go to heaven don't want to die to get there. And yet death is the destination we all share. No one has ever escaped it. And that is as it should be, because Death is very likely the single best invention of Life. It is Life's change agent. It clears out the old to make way for the new. Right now the new is you, but someday not too long from now, you will gradually become the old and be cleared away. Sorry to be so dramatic, but it is quite true.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma — which is living with the results of other people's thinking. Don't let the noise of others' opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;When I was young, there was an amazing publication called&amp;nbsp;&lt;em style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The Whole Earth Catalog&lt;/em&gt;, which was one of the bibles of my generation. It was created by a fellow named Stewart Brand not far from here in Menlo Park, and he brought it to life with his poetic touch. This was in the late 1960's, before personal computers and desktop publishing, so it was all made with typewriters, scissors, and polaroid cameras. It was sort of like Google in paperback form, 35 years before Google came along: it was idealistic, and overflowing with neat tools and great notions.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Stewart and his team put out several issues of&amp;nbsp;&lt;em style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The Whole Earth Catalog&lt;/em&gt;, and then when it had run its course, they put out a final issue. It was the mid-1970s, and I was your age. On the back cover of their final issue was a photograph of an early morning country road, the kind you might find yourself hitchhiking on if you were so adventurous. Beneath it were the words: "Stay Hungry. Stay Foolish." It was their farewell message as they signed off. Stay Hungry. Stay Foolish. And I have always wished that for myself. And now, as you graduate to begin anew, I wish that for you.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Stay Hungry. Stay Foolish.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Thank you all very much.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://3.gvt0.com/vi/UF8uR6Z6KLc/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/UF8uR6Z6KLc&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/UF8uR6Z6KLc&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;The Video is here :&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; font-style: inherit; font-weight: inherit; line-height: 1.25em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Taken from :&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: small; line-height: normal;"&gt;&lt;a href="http://news.stanford.edu/news/2005/june15/jobs-061505.html"&gt;http://news.stanford.edu/news/2005/june15/jobs-061505.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-3481720157853269178?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/3481720157853269178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=3481720157853269178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3481720157853269178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3481720157853269178'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/11/youve-got-to-find-what-you-love-jobs.html' title='Stay Hungry. Stay Foolish.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-5804670715905549558</id><published>2010-11-26T01:59:00.001-08:00</published><updated>2010-11-26T02:01:49.437-08:00</updated><title type='text'>Friends Please Pass on to EveryOne as you can</title><content type='html'>&lt;h2 class="title icon" style="color: #333333; display: block; font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 14px; font-weight: normal; font: normal normal bold 14px/normal Tahoma, Calibri, Verdana, Geneva, sans-serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 0px; padding-right: 10px; padding-top: 10px;"&gt;Pass on to EveryOne as you can&lt;/h2&gt;&lt;div class="content" style="color: #333333; font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;div id="post_message_19117" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;blockquote class="postcontent restore " style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; word-wrap: break-word;"&gt;Important Help line numbers..&lt;br /&gt;&lt;br /&gt;1. If you see children Begging anywhere in TAMIL NADU please contact "RED SOCIETY" 9940217816. They will help those children for their studies.&lt;br /&gt;&lt;br /&gt;2. There is a Website:&lt;br /&gt;&lt;a href="http://www.friendstosupport.org/" style="color: #417394; text-decoration: none;" target="_blank"&gt;www.friendstosupport.org&lt;/a&gt;&amp;nbsp;where you can search for any BLOOD GROUP, you will get thousand's of donor address.&lt;br /&gt;&lt;br /&gt;3. Engineering Students can register in&amp;nbsp;&lt;a href="http://www.campuscouncil.com/" style="color: #417394; text-decoration: none;" target="_blank"&gt;www.campuscouncil.com&lt;/a&gt;&amp;nbsp;to attend Off Campus for 40 Companies.&lt;br /&gt;&lt;br /&gt;4. Free Education and Free hostel for Handicapped children..!&lt;br /&gt;Contact:- 9842062501 &amp;amp; 9894067506&lt;br /&gt;&lt;br /&gt;5. If anyone met with fire accident or people born with problems in their ear, nose and mouth can get free PLASTIC SURGERY done by Kodaikanal PASAM Hospital. &amp;gt;From 23rd March to 4th April by German Doctors. Everything is free.&lt;br /&gt;Contact : 045420-240668,245732&lt;br /&gt;"Helping Hands are Better than Praying Lips"&lt;br /&gt;&lt;br /&gt;6. If you find any important documents like Driving license, Ration card, Passport, Bank Pass Book, etc., Missed by someone, simply put them into near by any Post Boxes. They will automatically reach the owner and Fine will be collected from them.&lt;br /&gt;&lt;br /&gt;7. By the next 10 months, our earth will become 4 degrees hotter than what it is now. Our Himalayan glaciers are melting at rapid rate. So all of you&lt;br /&gt;&lt;span class="IL_AD" id="IL_AD1" style="background-attachment: scroll !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: dotted !important; border-bottom-width: 1px !important; color: #009900; cursor: pointer !important; display: inline !important; float: none !important; font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px !important; font-style: normal !important; font-weight: normal !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static;"&gt;lend&lt;/span&gt;&amp;nbsp;your hands to fight GLOBAL WARMING.&lt;br /&gt;&lt;br /&gt;-Plant more Trees.&lt;br /&gt;-Don't waste&amp;nbsp;&lt;span class="IL_AD" id="IL_AD3" style="background-attachment: scroll !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: dotted !important; border-bottom-width: 1px !important; color: #009900; cursor: pointer !important; display: inline !important; float: none !important; font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px !important; font-style: normal !important; font-weight: normal !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static;"&gt;Water&lt;/span&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;span class="IL_AD" id="IL_AD5" style="background-attachment: scroll !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: dotted !important; border-bottom-width: 1px !important; color: #009900; cursor: pointer !important; display: inline !important; float: none !important; font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px !important; font-style: normal !important; font-weight: normal !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static;"&gt;Electricity&lt;/span&gt;.&lt;br /&gt;-Don't use or burn Plastics&lt;br /&gt;&lt;br /&gt;8. It costs 38 Trillion dollars to create OXYGEN for 6 months for all Human beings on earth.&lt;br /&gt;&lt;br /&gt;"TREES DO IT FOR FREE" Respect them and Save them.&lt;br /&gt;&lt;br /&gt;9.Special phone number for Eye bank and Eye donation 04428281919 and 04428271616 (Sankara Nethralaya Eye Bank)&lt;br /&gt;&lt;br /&gt;For More information about how to donate eyes plz visit these sites. . .&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.kannoli.com/eyebank.html" style="color: #417394; text-decoration: none;" target="_blank"&gt;http://www.kannoli.com/eyebank.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ruraleye.org/" style="color: #417394; text-decoration: none;" target="_blank"&gt;http://ruraleye.org/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;10. Heart Surgery free of&amp;nbsp;&lt;span class="IL_AD" id="IL_AD4" style="background-attachment: scroll !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: dotted !important; border-bottom-width: 1px !important; color: #009900; cursor: pointer !important; display: inline !important; float: none !important; font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px !important; font-style: normal !important; font-weight: normal !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static;"&gt;cost&lt;/span&gt;&amp;nbsp;for children (0-10 yr) Sri Valli Baba Institute, Bangalore.&lt;br /&gt;Contact : 9916737471&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;11. Heart Surgery free of&amp;nbsp;cost&amp;nbsp;for children and also for aged people at Sri Sathya Sai institute of Higher medical sciences, Bangalore.&lt;br /&gt;Contact : 080-28411502&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;12. Please CHECK WASTAGE OF food&lt;br /&gt;If you have a function/party at your home in&amp;nbsp;&lt;span class="IL_AD" id="IL_AD2" style="background-attachment: scroll !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: dotted !important; border-bottom-width: 1px !important; color: #009900; cursor: pointer !important; display: inline !important; float: none !important; font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px !important; font-style: normal !important; font-weight: normal !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static;"&gt;India&lt;/span&gt;&amp;nbsp;and food gets wasted, don't hesitate to call 1098 (only in&amp;nbsp;India) - It’s not a Joke - Child helpline. They will come and collect the food. Please circulate this&amp;nbsp;&lt;span class="IL_AD" id="IL_AD6" style="background-attachment: scroll !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: dotted !important; border-bottom-width: 1px !important; color: #009900; cursor: pointer !important; display: inline !important; float: none !important; font-family: Verdana, Tahoma, Arial, Calibri, Geneva, sans-serif; font-size: 13px !important; font-style: normal !important; font-weight: normal !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static;"&gt;message&lt;/span&gt;&amp;nbsp;which can help feed many children.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AND LETS TRY TO HELP&amp;nbsp;INDIA&amp;nbsp;BE A BETTER PLACE TO LIVE IN.&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-5804670715905549558?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/5804670715905549558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=5804670715905549558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5804670715905549558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5804670715905549558'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/11/friends-please-pass-on-to-everyone-as.html' title='Friends Please Pass on to EveryOne as you can'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-3241407844890273006</id><published>2010-05-23T20:45:00.000-07:00</published><updated>2010-05-23T20:51:13.956-07:00</updated><title type='text'>Sunfeast MAJJA Run Bangalore 2010 My Photography</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/S_n3QUb-t2I/AAAAAAAABIA/1f6_dLxsZ5I/s1600/DSCN0386.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/S_n3QUb-t2I/AAAAAAAABIA/1f6_dLxsZ5I/s320/DSCN0386.JPG" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S_n3cLOU6GI/AAAAAAAABII/Y9hofdh8Ghc/s1600/DSCN0413.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S_n3cLOU6GI/AAAAAAAABII/Y9hofdh8Ghc/s320/DSCN0413.JPG" /&gt;&lt;/a&gt;&lt;a href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/S_n3qVNqufI/AAAAAAAABIQ/KYIERY9MTj4/s1600/DSCN0342.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/S_n3qVNqufI/AAAAAAAABIQ/KYIERY9MTj4/s320/DSCN0342.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S_n2_LNcRFI/AAAAAAAABHo/LWfq4hSiSvc/s1600/DSCN0387.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S_n2_LNcRFI/AAAAAAAABHo/LWfq4hSiSvc/s320/DSCN0387.JPG" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/_E9mmpB2Ty4I/S_n3GIFJTxI/AAAAAAAABHw/0bW4ZwoEFgg/s1600/DSCN0419.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_E9mmpB2Ty4I/S_n3GIFJTxI/AAAAAAAABHw/0bW4ZwoEFgg/s320/DSCN0419.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/S_n1MRW-iTI/AAAAAAAABF4/m9UJzPswJeo/s1600/DSCN0329.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/S_n1MRW-iTI/AAAAAAAABF4/m9UJzPswJeo/s320/DSCN0329.JPG" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S_n2V1BFy1I/AAAAAAAABHI/XRlSEgMsxhs/s1600/DSCN0344.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S_n2V1BFy1I/AAAAAAAABHI/XRlSEgMsxhs/s320/DSCN0344.JPG" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S_n2pjImGKI/AAAAAAAABHQ/_eJtsbHpwQo/s1600/DSCN0330.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S_n2pjImGKI/AAAAAAAABHQ/_eJtsbHpwQo/s320/DSCN0330.JPG" /&gt;&lt;/a&gt;&lt;a href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S_n2uc4rkEI/AAAAAAAABHY/IZkQlvXlop8/s1600/DSCN0334.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S_n2uc4rkEI/AAAAAAAABHY/IZkQlvXlop8/s320/DSCN0334.JPG" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_E9mmpB2Ty4I/S_n24MwyoyI/AAAAAAAABHg/RnFT2iPRJtk/s1600/DSCN0338.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_E9mmpB2Ty4I/S_n24MwyoyI/AAAAAAAABHg/RnFT2iPRJtk/s320/DSCN0338.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;Sun&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-3241407844890273006?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/3241407844890273006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=3241407844890273006' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3241407844890273006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3241407844890273006'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/05/sunfeast-majja-run-bangalore-2010-my.html' title='Sunfeast MAJJA Run Bangalore 2010 My Photography'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E9mmpB2Ty4I/S_n3QUb-t2I/AAAAAAAABIA/1f6_dLxsZ5I/s72-c/DSCN0386.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-538163029611853525</id><published>2010-05-02T00:33:00.000-07:00</published><updated>2010-05-02T00:33:31.791-07:00</updated><title type='text'>Kodak Rechargeable Battery, How to use it.</title><content type='html'>Hi,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I just Bought a Kotak Ni-MH rechargeable Battery with&amp;nbsp;AA/AAA Charger from&amp;nbsp;Bangalore&amp;nbsp;SP Road. I found that Bangalore SP Road is the best place for&amp;nbsp;electronic Items deal, I got it for 425 [Charger&lt;br /&gt;+ 4 Batteries ] while it was printed 840,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;But when i looked at the browser it was not mentioned how Long i need to charge initially, I have been charging for 7 Hours , Still It is showing Green Light. The browser tells that Once it is charged, either it will go&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;LED Indication ON steady — charging&lt;/li&gt;&lt;li&gt;OFF — stand-by or charging complete&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;But after the 7 hours it is in the same charging State, Hope it will complete charging soon,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For more details on Rechargeable battery and browser look in Kodak Browser.&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.kodak.com/global/plugins/acrobat/en/service/manuals/accessories/K6200_EN.pdf"&gt;http://www.kodak.com/global/plugins/acrobat/en/service/manuals/accessories/K6200_EN.pdf&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You are welcome for all the comments on Kodak Rechargeable battery and chargers.&lt;/div&gt;&lt;div&gt;Still I am waiting on completion of the New Kodak&amp;nbsp;Rechargeable&amp;nbsp;Battery just to have a snap :).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Asker Ali M&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-538163029611853525?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/538163029611853525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=538163029611853525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/538163029611853525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/538163029611853525'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/05/kodak-rechargeable-battery-how-to-use.html' title='Kodak Rechargeable Battery, How to use it.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-8459434456515918061</id><published>2010-04-01T01:38:00.000-07:00</published><updated>2010-04-01T01:38:37.642-07:00</updated><title type='text'>Live Flight Tracking on Google Maps</title><content type='html'>&lt;span class="Apple-style-span" style="color: #464646; font-family: Georgia; font-size: 14px; line-height: 21px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #282828; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 21px; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #464646;"&gt;&lt;img alt="Live Flight Tracking" src="http://img.labnol.org/di/flight_tracking_google_maps.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #282828; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 21px; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;is a brilliant mashup that displays movement of incoming and outgoing flights on a Google Map&amp;nbsp;&lt;strong style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;live&lt;/strong&gt;.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #282828; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 21px; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;img align="right" alt="Flight Information" height="163" src="http://img.labnol.org/di/flight_information.png" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 10px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" width="183" /&gt;The airplanes are colored based on the name of the airline to which they belong but you can also change their colors based on the altitude at which they are currently flying or the flight type (whether it’s an incoming flight, outgoing or in transit).&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #282828; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 21px; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;You can also click the icon of a moving airplane to see speed and height at which it is flying in real-time.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #282828; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 21px; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;And if you are checking this service at a time where there isn’t flight traffic at Schipol Airport, just select one of the past days from the drop down to replay the entire flight movement for that day on your computer screen.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #282828; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 14px; font-style: inherit; font-weight: inherit; line-height: 21px; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;a href="http://casper.frontier.nl/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #000099; font-family: inherit; font-size: 14px; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" target="_blank"&gt;Casper&lt;/a&gt;&amp;nbsp;is currently tracking flights that are flying in and out of the Amsterdam Airport but we do have similar services for visualizing air traffic at the&amp;nbsp;&lt;a href="http://radar.zhaw.ch/radar.html" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #000099; font-family: inherit; font-size: 14px; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" target="_blank"&gt;Zurich Airport&lt;/a&gt;&amp;nbsp;and&lt;a href="http://www.radarvirtuel.com/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #000099; font-family: inherit; font-size: 14px; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" target="_blank"&gt;RadarVirtuel&lt;/a&gt;&amp;nbsp;that tracks flights for most European countries in almost real-time.&lt;a href="http://gmapsflighttracker.com/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #000099; font-family: inherit; font-size: 14px; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" target="_blank"&gt;GmapTracker&lt;/a&gt;&amp;nbsp;tracks incoming flights for US airports of New York, San Francisco, LA, Atlanta, Boston and Chicago.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-8459434456515918061?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/8459434456515918061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=8459434456515918061' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/8459434456515918061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/8459434456515918061'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/04/live-flight-tracking-on-google-maps.html' title='Live Flight Tracking on Google Maps'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-1189907798122777447</id><published>2010-03-04T11:21:00.001-08:00</published><updated>2010-03-10T03:41:59.128-08:00</updated><title type='text'>My Bangalore Blog is Launched</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://bangaloreandme.blogspot.com/"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;Bangalore &amp;amp; Me&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://bangaloreandme.blogspot.com/" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="432" src="http://2.bp.blogspot.com/_E9mmpB2Ty4I/S5AIPwjQG9I/AAAAAAAAA_o/wxTf5F9q-po/s640/Bangalore+and+me.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-1189907798122777447?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/1189907798122777447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=1189907798122777447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/1189907798122777447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/1189907798122777447'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/03/my-bangalore-blog-is-launched.html' title='My Bangalore Blog is Launched'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_E9mmpB2Ty4I/S5AIPwjQG9I/AAAAAAAAA_o/wxTf5F9q-po/s72-c/Bangalore+and+me.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-5543212675208519269</id><published>2010-02-27T18:30:00.000-08:00</published><updated>2010-02-27T18:39:37.175-08:00</updated><title type='text'>My Most Influenced Words from Sachin after Double ton</title><content type='html'>&lt;u&gt;Master batsman Sachin Tendulkar said records are meant to be broken and he would be glad to see an Indian eclipsing his epic unbeaten 200&lt;/u&gt; that he smashed against South Africa on Wednesday. &lt;br /&gt;&lt;br /&gt;"&lt;u&gt;No record is unbreakable. Records are made to be broken and I would like to see an Indian breaking this record,&lt;/u&gt;" Tendulkar said, dedicating the knock to all his fans. &lt;br /&gt;&lt;br /&gt;"&lt;u&gt;I do not play for records. I play for enjoyment and for my passion for the game. I did not start playing cricket for breaking records. It has happened over the time. But it feels great&lt;/u&gt;," Tendulkar said at the post-match press conference. &lt;br /&gt;&lt;br /&gt;Asked when he felt like getting that double hundred, he said, "&lt;u&gt;After reaching 175-200, I thought. But it's not that only double hundred was there in my mind. The ball was coming nicely and I was striking the ball well&lt;/u&gt;."  &lt;br /&gt;&lt;br /&gt;"I have enjoyed challenges. I have enjoyed the game 2007 onwards and credit goes to Gary. He has held the team beautifully, it's about holding the team together. Even at the practice, he has worked as hard as players and probably harder than anyone else. Things have been good," he said. &lt;br /&gt;&lt;br /&gt;"I respect the sentiment. These things help during tough times and when you go to the field," he said.&lt;br /&gt;&lt;br /&gt;The Simplicity and his attitude is the most influenced things to me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-5543212675208519269?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/5543212675208519269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=5543212675208519269' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5543212675208519269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5543212675208519269'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/02/my-most-influenced-words-from-sachi.html' title='My Most Influenced Words from Sachin after Double ton'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-2559711004788610775</id><published>2010-02-27T17:45:00.000-08:00</published><updated>2010-03-04T10:42:41.212-08:00</updated><title type='text'>Cool and Uncool things in India Budget 2010</title><content type='html'>&lt;div class="desc"&gt;&lt;h4&gt;&lt;a href="http://in.budget.yahoo.com/2010/news-detail?blogid=budgetnews&amp;amp;postid=319&amp;amp;viewPost=1" target="_self"&gt;Mobile phones, books &amp;amp; toys = cool; Fuel, SUVs = uncool&lt;/a&gt;&lt;/h4&gt;&lt;h5&gt;Friday February 26, 2010 11:18 pm PST&lt;/h5&gt;&lt;/div&gt;&lt;div class="cont"&gt;As always, every budget has its highs and lows, FM Pranab Mukherjee's budget 2010 presented today is no different. From a consumer's point of view, here's a look at the goods and services that are cool and uncool -&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cool&lt;/strong&gt; - Mobiles phones to get cheaper - To encourage manufacture of accessories such as battery chargers and hands-free sets, tax concessions will be extended to the mobile phone sector.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Uncool&lt;/strong&gt; - Large cars, SUVs to get dearer - Large cars, SUVs excise up to 22% from 20%&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Uncool &lt;/strong&gt;- Jewellery to become expensive - Customs duty on gold and platinum imports has been raised.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cool&lt;/strong&gt; - medical equipment will cost less - Tax concessions announced for equipment used in the medical industry.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Uncool &lt;/strong&gt;- air-conditioners to get costly - Hike in excise duty for ACs.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cool &lt;/strong&gt;- set top boxes to be cheaper - Tax concessions announced for set-top boxes.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Uncool &lt;/strong&gt;- Fuel hike could be on the cards - Excise duty of Re 1 per litre on petrol and diesel.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Uncool&lt;/strong&gt; - TVs to get dearer - Hike in excise duty for TVs.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cool&lt;/strong&gt; - Solar panels to get cheaper - Govt to waive excise duty on solar panels.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cool &lt;/strong&gt;- real-estate, housing-projects to get more affordable - Sops for real estate, housing projects extended by a year.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cool&lt;/strong&gt; - New tax slabs to increase savings - Tax slabs: Broadening 1.6 lakh - Nil, above 1.6 lakh upto 5 lakh 10%, 5-8 lakh - 20%, above 8 lakh- 30%&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cool&lt;/strong&gt; - Textile quality to get better - Rs 200 cr for textiles; Skill development programme for textile and garment sector.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Uncool&lt;/strong&gt; - Fertilizers to get dearer - Fertiliser subsidy to be reduced.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cool&lt;/strong&gt; - Books &amp;amp; toys to get more affordable - Tax concessions announced.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Yahoo India News&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;If you are a Salaried Employee Just Look Below, what government is giving u.........&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S4_-LtTYP8I/AAAAAAAAA_g/_QLnNXob7vY/s1600-h/Budget-layout.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0"  src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/S4_-LtTYP8I/AAAAAAAAA_g/_QLnNXob7vY/s640/Budget-layout.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;strong&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-2559711004788610775?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/2559711004788610775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=2559711004788610775' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/2559711004788610775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/2559711004788610775'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/02/cool-and-uncool-things-in-india-budget.html' title='Cool and Uncool things in India Budget 2010'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_E9mmpB2Ty4I/S4_-LtTYP8I/AAAAAAAAA_g/_QLnNXob7vY/s72-c/Budget-layout.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-516970804844236921</id><published>2010-02-19T01:10:00.000-08:00</published><updated>2010-02-19T01:10:47.665-08:00</updated><title type='text'>More flexibility in work schedules boosts employees' health</title><content type='html'>&lt;span class="Apple-style-span" style="color: #8a8989; font-family: verdana; font-size: 11px; line-height: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="first" style="line-height: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Washington, Feb 18 (ANI): A new study has suggested that giving employees more flexibility over their work schedules is likely to boost their health.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;However, interventions that are motivated or dictated by the needs of the employer, such as cutting hours, either have no effect on employee health or make it worse, says the research.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;"Control at work is good for health," said review co-author Clare Bambra, a researcher at Durham University, in England.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;"Given the absence of ill health effects associated with employee-controlled flexibility and the evidence of some positive improvements in some health outcomes," Bambra said, more flexibility in work schedules "has the potential to promote healthier workplaces and improve work practices."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Review lead author Kerry Joyce, also a researcher at Durham University, said that in addition to physical risks, the workplace can pose a threat to health due to factors like high workloads, time pressures, lack of control and limited social interaction with others.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Stress, in turn, can contribute to conditions like heart disease, depression and anxiety.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;In the review, the authors sought to determine what researchers have discovered about the effects on health of "flexible working" - measures that give employees more autonomy.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;They also looked at other kinds of interventions, such as involuntary part-time employment and mandatory overtime, that help employers.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;The researchers found 10 studies that fit their criteria for review inclusion. Three took place in the United States, two in Finland and one each in the Netherlands, the United Kingdom, Australia and Denmark. Another study analyzed workers in the U.K. and Germany.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;The review appears in the current issue of The Cochrane Library. (ANI)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 13px;"&gt;Reference :&amp;nbsp;&lt;a href="http://in.news.yahoo.com/139/20100218/1536/tls-more-flexibility-in-work-schedules-b.html"&gt;http://in.news.yahoo.com/139/20100218/1536/tls-more-flexibility-in-work-schedules-b.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-516970804844236921?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/516970804844236921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=516970804844236921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/516970804844236921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/516970804844236921'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/02/more-flexibility-in-work-schedules.html' title='More flexibility in work schedules boosts employees&apos; health'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-3428675581612187712</id><published>2010-02-15T04:15:00.000-08:00</published><updated>2010-02-15T04:21:54.535-08:00</updated><title type='text'>Beanbag Beans at Bangalore</title><content type='html'>Hi Guys,&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_E9mmpB2Ty4I/S3k8UnJ3N0I/AAAAAAAAA_U/dEBYihfMAwg/s1600-h/beanbag.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_E9mmpB2Ty4I/S3k8UnJ3N0I/AAAAAAAAA_U/dEBYihfMAwg/s320/beanbag.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;If you need shop the Bean Bag beans@ Bangalore India, go to Shivaji Nagar,&lt;br /&gt;The place where you will get the Bean bag Beans at the cheapest price @125 Indian Rupees. The same quality and bit lesser quantity Packets in Total Shopping Mall Cost IRS :250,&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_E9mmpB2Ty4I/S3k6n5wG6XI/AAAAAAAAA_E/utRNXDq3jfU/s1600-h/beanbag+packet.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/_E9mmpB2Ty4I/S3k6n5wG6XI/AAAAAAAAA_E/utRNXDq3jfU/s320/beanbag+packet.jpg" width="213" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Definitely&amp;nbsp;Shivaji Nagar is the place where you can get best quality things at Best Prices.&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Asker Ali M&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-3428675581612187712?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/3428675581612187712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=3428675581612187712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3428675581612187712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3428675581612187712'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/02/beanbag-beans-at-bangalore.html' title='Beanbag Beans at Bangalore'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_E9mmpB2Ty4I/S3k8UnJ3N0I/AAAAAAAAA_U/dEBYihfMAwg/s72-c/beanbag.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-8650546740568462267</id><published>2010-02-15T02:47:00.000-08:00</published><updated>2010-02-15T02:51:59.623-08:00</updated><title type='text'>String with White Spaces in Java</title><content type='html'>&amp;nbsp;Hi,&lt;br /&gt;In Most of the Data Formatting/Reports Applications we may require to create Strings with White Spaces with different sizes. I have found an issue on this as follows.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Once i need to create spaces in between some data in my report, The implementation as&amp;nbsp;&lt;/li&gt;&lt;pre class="brush: java"&gt;1. StringBuffer  sb=new StringBuffer();&lt;br /&gt;  2. sb.add("                                                     ");&lt;br /&gt;  3. sb.add("Name :"+name);&lt;br /&gt;  4. sb.add("               ");&lt;br /&gt;  5. sb.add("age :"+age);&lt;br /&gt;&lt;/pre&gt;&lt;li&gt;Here the existing issue in line no 2 &amp;amp; 4, we have the string of Space&amp;nbsp;Separator, But the code looks odd, and in case some added a space more in the same string it will be difficult to identify while Commiting the file in SVN or VSS .&lt;/li&gt;&lt;li&gt;I made some implementation in Java Using Character Arrays which will give provide performance by using StringBuffer.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;pre class="brush: java"&gt;import java.util.Arrays;&lt;br /&gt;&lt;br /&gt;   public class WhiteSpaceString {&lt;br /&gt;       public final static char SPACE_SEPARATOR = 32;&lt;br /&gt;&lt;br /&gt;       public static void main(String[] args) {&lt;br /&gt;          System.out.println("|" + getWhitespaceString(10) + "|");&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       private static String getWhitespaceString(int length) {&lt;br /&gt;          StringBuffer sb = new StringBuffer();&lt;br /&gt;          char[] whiteSpace = new char[length];&lt;br /&gt;          Arrays.fill(whiteSpace, SPACE_SEPARATOR);&lt;br /&gt;          sb.append(whiteSpace);&lt;br /&gt;          return sb.toString();&lt;br /&gt;      }&lt;br /&gt;   }&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you have any Better approach for the same please update me.&lt;/div&gt;&lt;div&gt;askeralim@gmail.com&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-8650546740568462267?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/8650546740568462267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=8650546740568462267' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/8650546740568462267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/8650546740568462267'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/02/string-with-whitespace-in-java.html' title='String with White Spaces in Java'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-145661888657331487</id><published>2010-01-20T02:13:00.000-08:00</published><updated>2011-01-07T05:10:42.274-08:00</updated><title type='text'>Maruti Insurance :: Maruti Online Policy Renewal.</title><content type='html'>&lt;b&gt;The issues I Faced With Maruti Insurance Policy&amp;nbsp;Renewal&amp;nbsp;Online,&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Once I paid the Insurance payment Online, It was successfully&amp;nbsp;Completed&amp;nbsp;the payment , and I got the mail from&amp;nbsp;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial; font-size: 13px; white-space: pre-wrap;"&gt;webmaster@maruti.co.in, that "&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate; white-space: normal;"&gt;Your Payment has been received and the details are indicated below."&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;But on the 6th Step it should generate the New Policy Document Online, Instead of that it was showing error that it is not able to Generate Now and I will be updated soon,&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Hence on the very Next Day I tried to contact the Maruti Insurance Customer Care Number : 9999999787, I feel this is some personal Number, And I am getting the response as "Either Buzy or He is Not picking up the call"&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Hence I contacted Customer Care they mentioned to mail in the following Mail addresses,&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; white-space: nowrap;"&gt;mi.helpdesk@maruti.co.in&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-size: 13px; white-space: nowrap;"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;onlinemi@maruti.co.in&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;As of now i havent Got any Update from Maruti Insurance company,&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;So Guys Never Ever Try to make any Insurance through Maruti Insurance Online&lt;/span&gt;&lt;/span&gt;, Because they dont have any customer care or any management to handle the issues of the person.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;See the Issues faced by some person online&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;&lt;a href="http://www.consumercomplaints.in/complaints/maruti-insurance-c180155.html"&gt;http://www.consumercomplaints.in/complaints/maruti-insurance-c180155.html&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;Team BHP :&lt;a href="http://www.team-bhp.com/forum/indian-car-loans-insurance/47129-maruti-online-insurance-beware.html"&gt;http://www.team-bhp.com/forum/indian-car-loans-insurance/47129-maruti-online-insurance-beware.html&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;&lt;u style="background-color: yellow;"&gt;Date : 7th Jan-2011:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;&lt;u style="background-color: yellow;"&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b style="background-color: yellow;"&gt;Now I found a New Issue in the provided Insurance Premium paper that the vehicle number printed is wrong. Instead of My Vehicle number it is printed some UA rather than the kerala Registration. &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b style="background-color: yellow;"&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b style="background-color: yellow;"&gt;This is too much...........&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;Regards&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;Asker Ali M&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-145661888657331487?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/145661888657331487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=145661888657331487' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/145661888657331487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/145661888657331487'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/01/maruti-insurance-maruti-online-policy.html' title='Maruti Insurance :: Maruti Online Policy Renewal.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-8073336205602918441</id><published>2010-01-19T22:47:00.000-08:00</published><updated>2010-01-19T22:47:48.979-08:00</updated><title type='text'>IGNOU world's largest university: Unesco</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_E9mmpB2Ty4I/S1ambuHrHsI/AAAAAAAAA9Y/2bOLnrnexQM/s1600-h/Unesco.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_E9mmpB2Ty4I/S1ambuHrHsI/AAAAAAAAA9Y/2bOLnrnexQM/s320/Unesco.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;New Delhi: The Indira Gandhi National Open University (IGNOU) is the world's largest, with its student base extending to three million, Unesco has said.&lt;br /&gt;&lt;br /&gt;"IGNOU is the largest University in the world. Almost three million students in India and 33 other countries study at IGNOU, which is also India's National Resource Center for Open and Distance Learning and a world leader in distance education," Unesco said in a positng on its website.&lt;br /&gt;&lt;br /&gt;"Enrollments of nearly three million students and networks across the country making the best use of Information Communication Technology (ICT)-- IGNOU's accomplishments are recognized worldwide," Unesco director general Irina Bokova said.&lt;br /&gt;&lt;br /&gt;"With the launch of EduSat (a satellite dedicated to education) in 2004, and the establishment of the Inter-University Consortium, IGNOU has ushered in a new era of technology-enabled education," the website said.&lt;br /&gt;&lt;br /&gt;Through its 21 schools of study, 59 regional centres, 2,300 learner support centres and some 52 overseas centres, the university offers certificate, diploma, degree and doctoral programmes, comprising around 1,500 courses, it said.&lt;br /&gt;&lt;br /&gt;It said that the university provides access to sustainable and learner-centred education and training to all through quality, innovative and needs-based programmes at affordable costs, thus reaching out to the disadvantaged and also promotes, coordinates and regulates the standards of education offered through open and distance learning in India.&lt;br /&gt;&lt;br /&gt;The website further said that IGNOU's staff consist of 380 faculty members and academic staff in headquarters and regional centres while some 36,000 counsellors from conventional institutions of higher learning and professionals from different spheres.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-8073336205602918441?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/8073336205602918441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=8073336205602918441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/8073336205602918441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/8073336205602918441'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/01/ignou-worlds-largest-university-unesco.html' title='IGNOU world&apos;s largest university: Unesco'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_E9mmpB2Ty4I/S1ambuHrHsI/AAAAAAAAA9Y/2bOLnrnexQM/s72-c/Unesco.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-3913481691119561976</id><published>2010-01-04T01:49:00.000-08:00</published><updated>2010-01-04T02:25:31.679-08:00</updated><title type='text'>New Web Base Instant Messenger Introduced.</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span style="font-family: Georgia;"&gt;&lt;span style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 32px; text-decoration: underline; white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; white-space: pre;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; font-family: Arial; font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: xx-large;"&gt;New Web Base Instant Messenger Introduced&lt;/span&gt;&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span style="font-family: Georgia; font-size: x-large;"&gt;&lt;span style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 24px; text-decoration: underline; white-space: pre;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SzyWNAUdGYI/AAAAAAAAA8k/gf1s-3S8YGI/s1600-h/Mardan+Chat.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SzyWNAUdGYI/AAAAAAAAA8k/gf1s-3S8YGI/s640/Mardan+Chat.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Hi,&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Its my pleasure to introduce the New Online Chat server same as &lt;a href="http://www.meebo.com/"&gt;meebo&lt;/a&gt;, Which help you to get free online chat for the following Chat Servers&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Google Talk&lt;/li&gt;&lt;li&gt;MSN Messenger&lt;/li&gt;&lt;li&gt;Yahoo Messenger&lt;/li&gt;&lt;li&gt;AOL Instant Messenger&lt;/li&gt;&lt;li&gt;ICQ&lt;/li&gt;&lt;li&gt;Jabber,&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;You can get online from here &lt;a href="http://mardanchat.blogspot.com/"&gt;http://mardanchat.blogspot.com/&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Enjoy Chatting.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-3913481691119561976?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/3913481691119561976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=3913481691119561976' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3913481691119561976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/3913481691119561976'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2010/01/new-online-chat-server-introduced.html' title='New Web Base Instant Messenger Introduced.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_E9mmpB2Ty4I/SzyWNAUdGYI/AAAAAAAAA8k/gf1s-3S8YGI/s72-c/Mardan+Chat.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-5205272854207668442</id><published>2009-11-26T11:03:00.000-08:00</published><updated>2009-12-31T03:31:35.356-08:00</updated><title type='text'>JQuery Country State HTML SELECT [Dropdown] AJAX Implementation using JSON</title><content type='html'>&lt;b&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;This is the basic tutorial which will help you to start with JQuery and JSON(Java Script Object Notation) Objects. The following is the Project Structure in Netbeans; I worked in Netbeans hence so&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;. In this tutorial I will start with JQuery AJAX Implementation with XML Objects,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/Szh0z-eB-EI/AAAAAAAAA78/KZ7lmA40eGY/s1600-h/project.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-decoration: none;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/Szh0z-eB-EI/AAAAAAAAA78/KZ7lmA40eGY/s320/project.JPG" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;For my convenience I have not downloaded/Installed any JQuery Javascript file in the current project, Still I am referring to the JQuery Website shared JavaScript Files. Hope it will help you from getting confused to the version of JQuery and other JS Files.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style="text-decoration: underline;"&gt;JQuery AJAX Using JSON Objects.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;I know whenever we hear about &lt;/span&gt;&lt;/span&gt;&lt;st1:place w:st="on"&gt;&lt;st1:city w:st="on"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/st1:city&gt;&lt;/st1:place&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;a href="http://askeralim.blogspot.com/2009/07/country-state-dropdown-data-java.html"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Country/State Drop down&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; example will come into our mind, So I am also referring to the same. Here whenever the User changes the Country Dropdown we will update the State associated with that Country.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;In this example we have only two JSP Files,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;1.&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; indexJSON.jsp&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;2.&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; CountryStateJSON.jsp&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Hope you can Apply few style sheet to make the index.jsp as follows&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;, I think the image is ext-js component, any way I kept image to give you an idea.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/Szh1vhN6WjI/AAAAAAAAA8E/DiNIEKoCNMs/s1600-h/countystate.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/Szh1vhN6WjI/AAAAAAAAA8E/DiNIEKoCNMs/s320/countystate.JPG" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The state information we are responding to the client as a JSON Object as follows.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: -webkit-monospace; font-size: 13px; white-space: pre;"&gt;LinkedHashSet statesSet = new LinkedHashSet&amp;lt; HTMLOption&amp;gt;();&lt;/span&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;        statesSet.add(new HTMLOption("1", "Kerala"));&lt;br /&gt;        statesSet.add(new HTMLOption("2","Karnataka"));&lt;br /&gt;        statesSet.add(new HTMLOption("3", "Delhi"));&lt;br /&gt;        System.out.println("Linked Hash Map:"+statesSet);&lt;br /&gt;        out.println(statesSet);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style="font-weight: normal;"&gt;The above Code will generate the JSON Object as follows&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; [&amp;nbsp;&amp;nbsp; {id:1,value:'Kerala'},&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {id:2,value:'Karnataka'},&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;span style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {id:3,value:'Delhi'}&amp;nbsp;&amp;nbsp; ]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-weight: normal;"&gt;The following Line of code in JSP will help to respond the Data as a Java Script File.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;     response.setContentType("text/javascript");&lt;br /&gt;     response.addHeader("Content-Disposition", "attachment; filename="+ "states.js");&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;In the current Example I am not connecting any Database for fetching the State details; I am simply updating the State drop down with My State in &lt;/span&gt;&lt;/span&gt;&lt;st1:place w:st="on"&gt;&lt;st1:country-region w:st="on"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;India&lt;/span&gt;&lt;/span&gt;&lt;/st1:country-region&gt;&lt;/st1:place&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; and the neighbor&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;.&lt;span style="white-space: normal;"&gt;We have two drop down in Our Page with ids&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="text-indent: .5in;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;1. Dropdown Country &lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;id="country"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-indent: .5in;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;2. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;st1:place w:st="on"&gt;&lt;st1:placename w:st="on"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Dropdown&lt;/span&gt;&lt;/span&gt;&lt;/st1:placename&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;st1:placetype w:st="on"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;State&lt;/span&gt;&lt;/span&gt;&lt;/st1:placetype&gt;&lt;/st1:place&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;id=" stateDD"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Country “onchange” we are calling function loadState(), which makes an JQuery AJAX Request to the CountryStateJSON.jsp, and It is handling the response as JavaScript Object(JSON), (by using the dataType TAG we are representing it) and pass the &lt;b&gt;js&lt;/b&gt; File to the &amp;nbsp;loadStateFromJSON&amp;nbsp;Function.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Arial; font-weight: normal;"&gt;By Using JSON Object Parser It iterates and retrieve all the states from JSON and Add to the state DropDown using appendState Method.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;u style="text-decoration: none;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; text-decoration: underline;"&gt;&lt;b&gt;ClearDD Method &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;:&lt;/b&gt; &lt;span style="color: blue;"&gt;It will remove all the options under the stateDD.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="text-decoration: underline;"&gt;Example.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;IndexJSON.jsp&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush: html"&gt;&amp;lt;%@page contentType="text/html" pageEncoding="UTF-8"%&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&lt;br /&gt;    "http://www.w3.org/TR/html4/loose.dtd"&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;    &amp;lt;head&amp;gt;&lt;br /&gt;        &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&amp;gt;&lt;br /&gt;        &amp;lt;title&amp;gt;JSP Page&amp;gt;/title&amp;gt;&lt;br /&gt;        &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;br /&gt;        &lt;br /&gt;&lt;/script&gt;&lt;br /&gt;        &lt;script type="text/javascript"&gt;&lt;br /&gt;            function loadState(){&lt;br /&gt;                var countryData="countryId="+$(country).val();&lt;br /&gt;                $.ajax({&lt;br /&gt;                    type: "POST",&lt;br /&gt;                    url: "CountryStateJSON.jsp",&lt;br /&gt;                    data:countryData,&lt;br /&gt;                    dataType: "javascript",&lt;br /&gt;                    success: function(states){&lt;br /&gt;                        loadStateFromJSON(eval(states));&lt;br /&gt;                    }&lt;br /&gt;                });&lt;br /&gt;            }&lt;br /&gt;            function loadStateFromJSON(JSON){&lt;br /&gt;                clearDD();&lt;br /&gt;                for(var i=0;i&lt;JSON.length;i++){&lt;br /&gt;                    var state=JSON[i];&lt;br /&gt;                    appendState(state.id,state.value);&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;            function clearDD(){&lt;br /&gt;                $('#stateDD').find('option').remove();&lt;br /&gt;            }&lt;br /&gt;            function appendState(id,state){&lt;br /&gt;                $('#stateDD').append($("&lt;option id='"+id+"'&gt;" + state + "&lt;/option&gt;"));&lt;br /&gt;            }&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;    &amp;lt;/head&amp;gt;&lt;br /&gt;    &amp;lt;body&amp;gt;&lt;br /&gt;&lt;h1&gt;Hello World!&lt;/h1&gt;&lt;b&gt;Country :&lt;/b&gt;&lt;br /&gt;        &lt;select id="country" name="country" onchange="loadState()"&gt;&lt;br /&gt;            &lt;option selected="" value="1"&gt;France&lt;/option&gt;&lt;br /&gt;            &lt;option value="2"&gt;Romania&lt;/option&gt;&lt;br /&gt;            &lt;option value="3"&gt;Usa&lt;/option&gt;&lt;br /&gt;            &lt;option value="4"&gt;Brazil&lt;/option&gt;&lt;br /&gt;        &lt;/select&gt;&lt;br /&gt;        &lt;b&gt;State :&lt;/b&gt;&lt;br /&gt;        &lt;select id="stateDD" name="stateDD"&gt;&lt;br /&gt;            &lt;option value="4"&gt;State 1&lt;/option&gt;&lt;br /&gt;        &lt;/select&gt;&lt;br /&gt;    &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The countryState.jsp is simply receiving the countryId from request and responding a static states xml file.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;/span&gt;CountryStateJSON.jsp&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;&amp;lt;%&lt;br /&gt;       &amp;lt;@ page import="java.util.LinkedHashSet" &amp;gt;&lt;br /&gt;       &amp;lt;@ page import="java.util.LinkedHashMap" &amp;gt;&lt;br /&gt;       &amp;lt;@ page import="org.json.model.HTMLOption" &amp;gt;&lt;br /&gt;       &amp;lt;%&lt;br /&gt;        System.out.println("CountryID-----------"+request.getParameter("countryId"));&lt;br /&gt;        response.setContentType("text/javascript");&lt;br /&gt;        response.addHeader("Content-Disposition", "attachment; filename="&lt;br /&gt;          + "states.js");&lt;br /&gt;        LinkedHashSet statesSet = new LinkedHashSet&lt;htmloption&gt;();&lt;br /&gt;        statesSet.add(new HTMLOption("1", "Kerala"));&lt;br /&gt;        statesSet.add(new HTMLOption("2","Karnataka"));&lt;br /&gt;        statesSet.add(new HTMLOption("3", "Delhi"));&lt;br /&gt;        System.out.println("Linked Hash Map:"+statesSet);&lt;br /&gt;        out.println(statesSet);&lt;br /&gt;%&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="text-decoration: underline;"&gt;HTMLOption.java&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;package org.json.model;&lt;br /&gt;&lt;br /&gt;public class HTMLOption {&lt;br /&gt;&lt;br /&gt;    String id;&lt;br /&gt;    String value;&lt;br /&gt;&lt;br /&gt;    public HTMLOption(String id, String value) {&lt;br /&gt;        this.id = id;&lt;br /&gt;        this.value = value;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public String getId() {&lt;br /&gt;        return id;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public void setId(String id) {&lt;br /&gt;        this.id = id;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public String getValue() {&lt;br /&gt;        return value;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public void setValue(String value) {&lt;br /&gt;        this.value = value;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    @Override&lt;br /&gt;    public String toString() {&lt;br /&gt;        return "{id:"+id+",value:'"+value+"'}";&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;pre class="brush: java"&gt;&lt;/pre&gt;&lt;b&gt;NOTE: &lt;/b&gt;Here toString method need to implemented, and the data String should be as Key=Value (Eq: id = 1 ) and each entry shuld be separated by a Comma. For Multiple Values Please Refer HashSet Printing.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-5205272854207668442?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/5205272854207668442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=5205272854207668442' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5205272854207668442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5205272854207668442'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/11/jquery-country-state-html-select_26.html' title='JQuery Country State HTML SELECT [Dropdown] AJAX Implementation using JSON'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E9mmpB2Ty4I/Szh0z-eB-EI/AAAAAAAAA78/KZ7lmA40eGY/s72-c/project.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-4488147227172971087</id><published>2009-11-26T10:10:00.000-08:00</published><updated>2009-11-26T22:26:22.473-08:00</updated><title type='text'>Eid Mubarak</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="border-collapse: collapse; color: #3333ff; font-family: 'Monotype Corsiva'; font-size: xx-large;"&gt;'EID MUBARAK'&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;span style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: #3333ff; font-family: 'Monotype Corsiva'; font-size: xx-large;"&gt;Wishing you &amp;amp; your family a very happy, healthy and prosperous Eid!!&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_E9mmpB2Ty4I/Sw7A0D2U_yI/AAAAAAAAA6I/ifz_4YqpD3A/s1600/image002.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_E9mmpB2Ty4I/Sw7A0D2U_yI/AAAAAAAAA6I/ifz_4YqpD3A/s320/image002.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span style="font-size: x-large;"&gt;Eid Mubarak&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-4488147227172971087?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/4488147227172971087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=4488147227172971087' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/4488147227172971087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/4488147227172971087'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/11/eid-mubarak.html' title='Eid Mubarak'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_E9mmpB2Ty4I/Sw7A0D2U_yI/AAAAAAAAA6I/ifz_4YqpD3A/s72-c/image002.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-5649633778182630016</id><published>2009-11-25T05:25:00.000-08:00</published><updated>2009-12-31T03:36:07.084-08:00</updated><title type='text'>JQuery Country State HTML SELECT [Dropdown] AJAX Implementation using XML.</title><content type='html'>&lt;b&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;This is the basic tutorial which will help you to start with JQuery and JSON(Java Script Object Notation) Objects. The following is the Project Structure in Netbeans; I worked in Netbeans hence so&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;. In this tutorial I will start with JQuery AJAX Implementation with XML Objects,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/Szh0z-eB-EI/AAAAAAAAA78/KZ7lmA40eGY/s1600-h/project.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-decoration: none;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/Szh0z-eB-EI/AAAAAAAAA78/KZ7lmA40eGY/s320/project.JPG" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;For my convenience I have not downloaded/Installed any JQuery Javascript file in the current project, Still I am referring to the JQuery Website shared JavaScript Files. Hope it will help you from getting confused to the version of JQuery and other JS Files.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;JQuery AJAX Using XML Objects.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;I know whenever we hear about &lt;/span&gt;&lt;/span&gt;&lt;st1:place w:st="on"&gt;&lt;st1:city w:st="on"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/st1:city&gt;&lt;/st1:place&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;a href="http://askeralim.blogspot.com/2009/07/country-state-dropdown-data-java.html"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Country/State Drop down&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; example will come into our mind, So I am also referring to the same. Here whenever the User changes the Country Dropdown we will update the State associated with that Country.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;In this example we have only two JSP Files,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;1.&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; index.jsp&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;2.&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; CountryState.jsp&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Hope you can Apply few style sheet to make the index.jsp as follows&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;, I think the image is ext-js component, any way I kept image to give you an idea.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/Szh1vhN6WjI/AAAAAAAAA8E/DiNIEKoCNMs/s1600-h/countystate.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/Szh1vhN6WjI/AAAAAAAAA8E/DiNIEKoCNMs/s320/countystate.JPG" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The state information we are responding to the client as an XML File as follows.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="brush: html"&gt;&lt;states&gt;&lt;br /&gt; &lt;state id="1"&gt;&lt;name&gt;Kerala&lt;/name&gt;&lt;/state&gt;&lt;br /&gt; &lt;state id="2"&gt;&lt;name&gt;Karnataka&lt;/name&gt;&lt;/state&gt;&lt;br /&gt;&lt;/states&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The following Line of code in JSP will help to respond the Data as a File.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;response.setContentType("text/xml");&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;response.addHeader("Content-Disposition", "attachment; filename="states.xml");&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;In the current Example I am not connecting any Database for fetching the State details; I am simply updating the State drop down with My State in &lt;/span&gt;&lt;/span&gt;&lt;st1:place w:st="on"&gt;&lt;st1:country-region w:st="on"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;India&lt;/span&gt;&lt;/span&gt;&lt;/st1:country-region&gt;&lt;/st1:place&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; and the neighbor&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;We have two drop down in Our Page with ids &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-indent: .5in;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;1. Dropdown Country &lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;id="country"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-indent: .5in;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;2. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;st1:place w:st="on"&gt;&lt;st1:placename w:st="on"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Dropdown&lt;/span&gt;&lt;/span&gt;&lt;/st1:placename&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;st1:placetype w:st="on"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;State&lt;/span&gt;&lt;/span&gt;&lt;/st1:placetype&gt;&lt;/st1:place&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;id=" stateDD"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; Country “onchange” we are calling function loadState(), which makes an JQuery AJAX Request to the CountryState.jsp, and It is handling the response as XML, (by using the dataType TAG we are representing it) and pass the XML File to the&amp;nbsp; loadStatesFromXML Function.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-weight: normal;"&gt;By Using XML Parser by JQuery It iterates and retrieve all the states from XML and Add to the state DropDown using appendState Method.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;u style="text-decoration: none;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; text-decoration: underline;"&gt;&lt;b&gt;ClearDD Method&lt;/b&gt; &lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;: It will remove all the options under the stateDD.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;Example.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Index.jsp&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush: html"&gt;&amp;lt;%@page contentType="text/html" pageEncoding="UTF-8"%&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&lt;br /&gt;    "http://www.w3.org/TR/html4/loose.dtd"&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;    &amp;lt;head&amp;gt;&lt;br /&gt;        &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&amp;gt;&lt;br /&gt;        &amp;lt;title&amp;gt;JSP Page&amp;gt;/title&amp;gt;&lt;br /&gt;        &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;br /&gt;        &lt;br /&gt;&lt;/script&gt;&lt;br /&gt;        &lt;script type="text/javascript"&gt;&lt;br /&gt;            function loadState(){&lt;br /&gt;                var countryData="countryId="+$(country).val();&lt;br /&gt;                $.ajax({&lt;br /&gt;                    type: "POST",&lt;br /&gt;                    url: "CountryState.jsp",&lt;br /&gt;                    data:countryData,&lt;br /&gt;                    dataType: "xml",&lt;br /&gt;                    success: function(states){&lt;br /&gt;                        loadStatesFromXML(states);&lt;br /&gt;                    }&lt;br /&gt;                });&lt;br /&gt;            }&lt;br /&gt;            function loadStatesFromXML(states){&lt;br /&gt;            clearDD();&lt;br /&gt;            $(states).find('state').each(function(){&lt;br /&gt;                         var id = $(this).attr('id');&lt;br /&gt;                         var name = $(this).find('name').text();&lt;br /&gt;                         appendState(id,name);&lt;br /&gt;                     });&lt;br /&gt;            }&lt;br /&gt;            function clearDD(){&lt;br /&gt;                $('#stateDD').find('option').remove();&lt;br /&gt;            }&lt;br /&gt;            function appendState(id,state){&lt;br /&gt;                $('#stateDD').append($("&lt;option id='"+id+"'&gt;" + state + "&lt;/option&gt;"));&lt;br /&gt;            }&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;    &amp;lt;/head&amp;gt;&lt;br /&gt;    &amp;lt;body&amp;gt;&lt;br /&gt;&lt;h1&gt;Hello World!&lt;/h1&gt;&lt;b&gt;Country :&lt;/b&gt;&lt;br /&gt;        &lt;select id="country" name="country" onchange="loadState()"&gt;&lt;br /&gt;            &lt;option selected="" value="1"&gt;France&lt;/option&gt;&lt;br /&gt;            &lt;option value="2"&gt;Romania&lt;/option&gt;&lt;br /&gt;            &lt;option value="3"&gt;Usa&lt;/option&gt;&lt;br /&gt;            &lt;option value="4"&gt;Brazil&lt;/option&gt;&lt;br /&gt;        &lt;/select&gt;&lt;br /&gt;        &lt;b&gt;State :&lt;/b&gt;&lt;br /&gt;        &lt;select id="stateDD" name="stateDD"&gt;&lt;br /&gt;            &lt;option value="4"&gt;State 1&lt;/option&gt;&lt;br /&gt;        &lt;/select&gt;&lt;br /&gt;    &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;The countryState.jsp is simply receiving the countryId from request and responding a static states xml file.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;/span&gt;CountryState.jsp&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;        &amp;lt;%&lt;br /&gt;        String countryId = request.getParameter("countryId");&lt;br /&gt;        response.setContentType("text/xml");&lt;br /&gt;        response.addHeader("Content-Disposition", "attachment; filename="&lt;br /&gt;          + "states.xml");&lt;br /&gt;        out.println("" +&lt;br /&gt;                "&lt;states&gt;" +&lt;br /&gt;                    "&lt;state id="1"&gt;&lt;name&gt;Kerala&lt;/name&gt;&lt;/state&gt;" +&lt;br /&gt;                    "&lt;state id="2"&gt;&lt;name&gt;Karnataka&lt;/name&gt;&lt;/state&gt;" +&lt;br /&gt;                "&lt;/states&gt;");&lt;br /&gt;        %&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;This file can be customized according to availability of Country state data, as Database tables or Data Files. I will explain the same in &lt;a href="http://askeralim.blogspot.com/2009/11/jquery-country-state-html-select_26.html"&gt;&lt;span style="color: blue;"&gt;JQuery Using JSON.&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-5649633778182630016?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/5649633778182630016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=5649633778182630016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5649633778182630016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5649633778182630016'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/11/jquery-country-state-html-select.html' title='JQuery Country State HTML SELECT [Dropdown] AJAX Implementation using XML.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E9mmpB2Ty4I/Szh0z-eB-EI/AAAAAAAAA78/KZ7lmA40eGY/s72-c/project.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-8133859238019826432</id><published>2009-11-25T04:49:00.000-08:00</published><updated>2009-11-25T05:02:19.284-08:00</updated><title type='text'>How to Add or Remove an Option in HTML Select using JQuery.</title><content type='html'>Here is the code for appending an Option to a State Dropdown.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;JQuery Option ADD&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush: js;"&gt;/**&lt;br /&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp;id :id of the option&lt;br /&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp;state :Name of the state we are adding&lt;br /&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp;Dropdown id is :stateDD.&lt;br /&gt;**/&lt;br /&gt;&lt;br /&gt;function appendState(id,state){&lt;br /&gt;      $('#stateDD').append($("&amp;lt;option id='+id+' &amp;gt; "+ state + "&amp;lt;/option&amp;gt;"));&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;JQuery Dropdown Option Remove ALL.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre class="brush: js;"&gt;/**&lt;br /&gt;*      method will remove all the options Under the dropdown with ID:stateDD.&lt;br /&gt;**/&lt;br /&gt;&lt;br /&gt;function clearDD(){&lt;br /&gt;        $('#stateDD').find('option').remove();&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-8133859238019826432?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/8133859238019826432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=8133859238019826432' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/8133859238019826432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/8133859238019826432'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/11/how-to-add-or-remove-option-in-html.html' title='How to Add or Remove an Option in HTML Select using JQuery.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-410814732105798368</id><published>2009-11-18T07:23:00.000-08:00</published><updated>2009-11-18T22:28:17.627-08:00</updated><title type='text'>Java Serialization A Complete Tutorials.</title><content type='html'>&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="font-size: x-large;"&gt;Java Serialization&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: large;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; In Programming layman’s language Serialization is the process of converting an&amp;nbsp;object&amp;nbsp;into a sequence of bits. That is the sequence of bytes can be persisted on a storage medium like a&amp;nbsp;file or a memory buffer, and it can be transmitted across networks, hence later it can be restored as the same Object by the process of de serialization .ie It is a mechanism with which you can save the state of an object by converting it to a byte stream. This process of serializing an object is also called&amp;nbsp;deflating&amp;nbsp;or&amp;nbsp;marshalling&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Object serialization provides the foundation for Java's remote method invocation (RMI) capabilities that enable Java programs that are distributed over a network to invoke each others so-called "remote methods." RMI is used frequently in distributed enterprise applications that are built with Java Enterprise Edition (Java EE).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Let’s check different Scenarios while object serializing.&lt;br /&gt;&lt;br /&gt;1.While Serializing an Object it will recursively checks the reference objects whether they are implemented Serializable interface or Not. Means every reference of a Serializing Object should also be Serialized, Otherwise it will generate java.io.NotSerializableException.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Example: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class MyDetails implements Serializable{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String name;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int age;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Important point about java.lang.Object&amp;nbsp;not implementing the&amp;nbsp;Serializable&amp;nbsp;interface is that any class you create that extends only&amp;nbsp;Object&amp;nbsp;(and no other serializable classes) is not serializable unless you implement the interface yourself.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;“The object to be persisted must implement the&amp;nbsp;Serializable&amp;nbsp;interface or inherit that implementation from its object hierarchy.”&lt;br /&gt;&lt;br /&gt;2.We did the basic Java Serialization, Now if we need to block some fields should not be saved through Serialization, here it comes with the Java Keyword Transient.&lt;br /&gt;&lt;br /&gt;Ex: transient&amp;nbsp;private Integer age=28;&lt;br /&gt;This statement declares an integer variable named age is not a part of the persistent state of the class.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You use the transient keyword to indicate to the Java virtual machine that the indicated variable is not part of the persistent state of the object. In the saving Object Time JVM will discard the transient variables. Variables that are part of the persistent state of an object must be saved when the object is archived.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Scenario Where we Use Transient:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In system-level classes like Thread,&amp;nbsp;OutputStream&amp;nbsp;and its subclasses, and&amp;nbsp;Socket&amp;nbsp;are not serializable. Indeed, it would not make any sense if they were. For example, thread running in my JVM would be using my system's memory. Persisting it and trying to run it in your JVM would make no sense at all.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Class MyAnimation{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;transient Thread serialPortReader.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;Here the serial port reading thread will be different in different &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;3.Stop Serialization:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;In some scenario if we want to stop the serialization, you are thinking how. Lets see an example&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Class Person implements Serialization{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Class Student extends Person{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;Here if we need to block Student Object Serialization, How we do?&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Private void writeObject(ObjectOutputStream out) throws IOException&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new NotSerializableException("Not today!");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void readObject(ObjectInputStream in) throws IOException&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new NotSerializableException("Not today!");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;br /&gt;Here once you try to serialize the Student Object It will throw NotSerializableException.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;4.&lt;span style="text-decoration: underline;"&gt;Versioning Serialization&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;One interesting thing will come into our mind that, once we stored the Object and later the Class is being changed, then how you will manage or restore the Object.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;In Java 1.1, they have introduced version number. A specific class variable, serialVersionUID (representing the Stream Unique Identifier, or SUID), may be used to specify the earliest version of the class that can be deserialized. The SUID is declared as follows:&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; static final long serialVersionUID = 2L;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This particular declaration and assignment specifies that version 2 is as far back as this class can go. It is not compatible with an object written by version 1 of the class, and it cannot write a version 1 object. If it encounters a version 1 object in a stream (such as when restoring from a file), an InvalidClassException will be thrown.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Incase if we are not providing any serialVersionUID  the jvm will assign a default while the object is serialized.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;The following code will help us to get the SerialVersionId.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ObjectStreamClass myObject = ObjectStreamClass.lookup(Class.forName( "MyClass" ) );&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;long theSUID = myObject.getSerialVersionUID();&lt;br /&gt;&lt;br /&gt;Hence we can check the versioned of the object and handle the InvalidClassException on Runtime.&lt;br /&gt;.&lt;br /&gt;Lets look a complete Example :&lt;br /&gt;&lt;pre class="brush: java"&gt;package serializing;&lt;br /&gt;&lt;br /&gt;import java.io.FileInputStream;&lt;br /&gt;import java.io.FileOutputStream;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import java.io.ObjectInputStream;&lt;br /&gt;import java.io.ObjectOutputStream;&lt;br /&gt;import java.io.Serializable;&lt;br /&gt;&lt;br /&gt;public class Serialize {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/**&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * @param args&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static void main(String[] args) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileOutputStream fileOut = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ObjectOutputStream out = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fileOut = new FileOutputStream("test.txt");&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; out = new ObjectOutputStream(fileOut);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CollegeStudent student = new CollegeStudent("WMO","Asker");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; out.writeObject(student);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception e) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // TODO Auto-generated catch block&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.printStackTrace();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } finally {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;out.close();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fileOut.close();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (IOException e) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // TODO Auto-generated catch block&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileInputStream fileIn = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ObjectInputStream in = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileIn = new FileInputStream("test.txt");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in = new ObjectInputStream(fileIn);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CollegeStudent student = (CollegeStudent) in.readObject();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(student);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (Exception e) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.printStackTrace();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } finally {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.close(); fileOut.close();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (IOException e) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.printStackTrace();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;class Student  implements Serializable{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String name;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public Student(String name) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; super();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.name = name;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public Student() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public String toString() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return "["+ name + "]";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public String getName() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return name;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setName(String name) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.name = name;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;class CollegeStudent extends Student  {&lt;br /&gt;        String college="";&lt;br /&gt;&lt;br /&gt;        public String getCollege() {&lt;br /&gt;              return college;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public void setCollege(String college) {&lt;br /&gt;              this.college = college;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public CollegeStudent(String college,String name) {&lt;br /&gt;              super(name);&lt;br /&gt;              this.college=college;&lt;br /&gt;        }&lt;br /&gt;        public CollegeStudent() {&lt;br /&gt;              super("NO VAAL");&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        @Override&lt;br /&gt;        public String toString() {&lt;br /&gt;              return "[" + name + ","+college+"]";&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;In the Above Example Lets Discuss the different Scenarios.&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;Case 1: &lt;/b&gt;Student Class implements Serializable Interface. And College Student Does Not.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CollegeStudent cs=new CollegeStudent(“College 1”,“Student 1”);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Save the Object.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Retrieve the Object and Print. The out put will be as Follows.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Student 1,College 1]&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Case 2: &lt;/b&gt;Student Class Does Not. implements Serializable Interface. And CollegeStudent Does.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CollegeStudent cs=new CollegeStudent(“College 1”,“Student 1”);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Save the Object.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Retrieve the Object and Print. The out put will be as Follows.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.io.InvalidClassException: serializing.CollegeStudent; no valid constructor&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.io.ObjectStreamClass.&lt;init&gt;(ObjectStreamClass.java:455)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1035)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at serializing.Serialize.main(Serialize.java:18)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Case 3:&lt;/b&gt; Both the Student and CollegeStudent implements Serializable Interface&lt;br /&gt;&lt;br /&gt;If the parent Class Implements the Serializable then it is not required, if provided Not an Issue. It will behave as Case 1:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CollegeStudent cs=new CollegeStudent(“College 1”,“Student 1”);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Save the Object.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Retrieve the Object and Print. The out put will be as Follows.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Student 1,College 1]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Case 4: &lt;/b&gt;Lets make some transient Fields. For example in Student class &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; transient String name;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CollegeStudent cs=new CollegeStudent(“College 1”,“Student 1”);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Save the Object.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Retrieve the Object and Print. The out put will be as Follows.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [null,College 1]&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Case 5: &lt;/b&gt;Lets make some transient Fields. For example in Student class &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; transient String college="";&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CollegeStudent cs=new CollegeStudent(“College 1”,“Student 1”);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Save the Object.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Retrieve the Object and Print. The out put will be as Follows.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Student 1,null]&lt;/init&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-410814732105798368?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/410814732105798368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=410814732105798368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/410814732105798368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/410814732105798368'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/11/java-serialization-complete-tutorials.html' title='Java Serialization A Complete Tutorials.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-1641789137474044351</id><published>2009-11-03T08:36:00.000-08:00</published><updated>2009-11-03T08:53:13.901-08:00</updated><title type='text'>How is My Creativity</title><content type='html'>&lt;div&gt;Hai Look at My Ashtray.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/SvBfndt_fBI/AAAAAAAAA4g/uQMWWPivozs/s1600-h/Photo+0860.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/SvBfndt_fBI/AAAAAAAAA4g/uQMWWPivozs/s400/Photo+0860.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5399921084814294034" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_E9mmpB2Ty4I/SvBfWCkqz9I/AAAAAAAAA4Y/3I4_JZXDFds/s1600-h/Photo+0865.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://1.bp.blogspot.com/_E9mmpB2Ty4I/SvBfWCkqz9I/AAAAAAAAA4Y/3I4_JZXDFds/s400/Photo+0865.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5399920785469657042" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SvBcoh_z44I/AAAAAAAAA4Q/1f4_5sCPS0k/s1600-h/Photo+0859.jpg"&gt;&lt;br /&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 400px;" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SvBcoh_z44I/AAAAAAAAA4Q/1f4_5sCPS0k/s400/Photo+0859.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5399917804607759234" /&gt;&lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;Flower Base&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here I prepared the Base By using Plaster of paris and Few &lt;span class="Apple-style-span"  style="  border-collapse: collapse; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Armatures.I got some Lucky bamboo to make it better.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: medium; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: medium; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial, sans-serif;font-size:180%;"&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-size:17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial, sans-serif;font-size:180%;"&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-size:17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial, sans-serif;font-size:180%;"&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-size:17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial, sans-serif;font-size:180%;"&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-size:17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-1641789137474044351?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/1641789137474044351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=1641789137474044351' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/1641789137474044351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/1641789137474044351'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/11/how-is-my-creativity.html' title='How is My Creativity'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E9mmpB2Ty4I/SvBfndt_fBI/AAAAAAAAA4g/uQMWWPivozs/s72-c/Photo+0860.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-2372242111119406433</id><published>2009-09-02T10:31:00.000-07:00</published><updated>2010-01-06T01:22:57.747-08:00</updated><title type='text'>AJAX: The Complete Tutorial Using Java Script</title><content type='html'>&lt;span class="Apple-style-span"  style=" ;font-family:'Times New Roman';"&gt;&lt;div   style="margin-top: 6px; margin-right: 6px; margin-bottom: 6px; margin-left: 6px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;   background-color: rgb(255, 255, 255); min-height: 1100px; counter-reset: __goog_page__ 0; line-height: normal; font-family:'Times New Roman';font-size:12pt;"&gt;&lt;div class="Section1" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: center; "&gt;&lt;span&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-style-span"  style="font-size:x-large;"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Hai Guys, As I was sitting on bench in Organization I thought to write a Complete Article on &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; , XMLHttp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Request &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Object and the web policies.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;First of all &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;let&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; me &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;introduce&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;what is &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; is the short for &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;of &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;A&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;synchronous &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;avaScript&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;A&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;nd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;X&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;ML&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;In&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;conventional web application the control of the sending request and handling response are in the hands of Browser.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;But &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;in &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;with use of JavaScript XMLHttpRequest Object it gives the complete handling of Sending Request and Handling the responses.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Google was apparently the first to realize &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;the power of XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;. With Gmail and Google Maps, they built applications that took advantage of this to provide a user.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;comprises&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; of different web development techniques as follows.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol type="1" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XHTML, CSS for Data Presentations&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;DOM(Document Object Model) for &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;dynamic display of and interaction with data&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XML&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;and&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XSLT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;for the interchange, and manipulation and display, of data, respectively&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; The Core&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; JavaS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;cript Object &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;for asynchronous communication with Server&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;JavaScript&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;The Client Side Browser language &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;to bring these technologies together&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;The &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;a&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;bove all technologies combin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;e&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;ly &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;help&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; to &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;create Interactive Rich Internet&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Applications.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'lucida grande';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;What is XMLHttpRequest.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;The XMLHttpRequest &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;is the JavaScript &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;object &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;works as the&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; key to &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;. It has been available ever since Internet Explorer 5.5 was released in July 2000, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;as I mentioned above it was not fully &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;discovered before people started to talk about AJAX and Web 2.0 in 2005.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;XMLHttpRequest (XHR) is an API that can be used by JavaScript, JScript, VBScript and other web browser scripting languages to transfer and manipulate XML data to and from a web server using HTTP, establishing an independent connection channel between a web page's Client-Side and Server-Side.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;In the &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; the data can be returned as text or XML, here in text you can return the Complete HTML file as response if required.Before &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; people used to Apply this by using &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;IFrame&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; by setting the URL.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" text-decoration: underline;font-size:13px;"&gt;&lt;b&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Life Cycle:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol type="1" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;create an&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;object (or equivalent Active&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;X control&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; in IE)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Set the URL in &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;in which we &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;want to connect;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Set the &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;callback handler&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;javascript method to &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;process &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;response &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;data;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;call the&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;send()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;method, passing in any data to be posted;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Program the callback handler method in such a way that it will process the response in meaningful way.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" text-decoration: underline;font-size:13px;"&gt;&lt;b&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Life Cycle in Detail:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" text-decoration: underline;font-size:13px;"&gt;&lt;b&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;1. Create the&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;object&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;It is the first and most straightforward step in AJAX implementation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;As simple as any Object creation in any language in Javascript also we will define as follows.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;var reqObj = &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;new XMLHttpRequest()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;This Object will work with almost all the web browsers other than Internet Explorer (But in later IE releases they started supporting for this..))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;To make the Object Standardized for all the web browsers we can define a method as follows.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(249, 249, 249); "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(249, 249, 249); "&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; font-family:'lucida grande';font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class="brush: js"&gt; function createXMLHttpRequest() {&lt;br /&gt;    try { return new XMLHttpRequest(); } catch(e) {}&lt;br /&gt;    try { return new ActiveXObject("Msxml2.XMLHTTP"); }&lt;br /&gt;    catch (e) {}&lt;br /&gt;    try { return new ActiveXObject("Microsoft.XMLHTTP"); }&lt;br /&gt;    catch (e) {&lt;br /&gt;        alert("XMLHttpRequest not supported");&lt;br /&gt;        return null;&lt;br /&gt;    }&lt;br /&gt; }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;[&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;An &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Active&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;X control&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; is a type of embeddable Windows program component.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class="brush: js"&gt;function createRequestObj() {&lt;br /&gt;       if (window.ActiveXObject) {&lt;br /&gt;          xhr = new ActiveXObject("Microsoft.XMLHttp");&lt;br /&gt;       } else {&lt;br /&gt;          xhr = new XMLHttpRequest();&lt;br /&gt;       }&lt;br /&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;2. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Setting Up the Request URL.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;To make a call to the server, we first specify the URL that we want to connect to &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;by the use of &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;open()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;method&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; in XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, passing in the request &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;URL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(249, 249, 249); "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(249, 249, 249); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;xhReq.open("get", "studentDeatils.jsp", true);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XMLHttprequest Supports the following methods &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;for making the Requests.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(238, 238, 238); "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;void &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;open&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;method&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;url&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;void &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;open&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;method&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;url&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, boolean &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;async&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;void &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;open&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;method&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;url&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, boolean &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;async&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, DOMString? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;user&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;void &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;open&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;method&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;url&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, boolean &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;async&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, DOMString? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;user&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, DOMString? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;password&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;void &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;setRequestHeader&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;header&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;, DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;value&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;void &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;send&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;void &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;send&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; (Document &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;data&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;void &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;send&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; ([AllowAny] DOMString? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;data&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;void abort();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;For Handling the response API supports the following methods.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;  readonly attribute unsigned short &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#status#status"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;status&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;  readonly attribute DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#statustext#statustext"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;statusText&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;  DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#getresponseheader#getresponseheader"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;getResponseHeader&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;i&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;header&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;  DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#getallresponseheaders#getallresponseheaders"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;getAllResponseHeaders&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;  readonly attribute DOMString &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#responsetext#responsetext"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;responseText&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;  readonly attribute Document &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#responsexml#responsexml"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;responseXML&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" text-decoration: underline;font-size:13px;"&gt;&lt;b&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;States of &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;The&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#xmlhttprequest#xmlhttprequest"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;The&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 69, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;readyState&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;attribute, is &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;the&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; attribute provides current state of the &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#xmlhttprequest#xmlhttprequest"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; we made.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;const unsigned short &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#unsent-state#unsent-state"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;UNSENT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; = 0;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;const unsigned short &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#opened-state#opened-state"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;OPENED&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; = 1;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;const unsigned short &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#headers-received-state#headers-received-state"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;HEADERS_RECEIVED&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; = 2;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;const unsigned short &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#loading-state#loading-state"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;LOADING&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; = 3;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;const unsigned short &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#done-state#done-state"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;DONE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; = 4;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span style="color: rgb(255, 69, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;UNSENT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(numeric value 0)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;The object has been constructed.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span style="color: rgb(255, 69, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;OPENED&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(numeric value 1)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;The&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#open#open"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;open()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;method has been successfully invoked. During this state request headers can be set using&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#setrequestheader#setrequestheader"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;setRequestHeader()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;and the request can be made using the&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#send#send"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;send()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;method.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span style="color: rgb(255, 69, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;HEADERS_RECEIVED&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(numeric value 2)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;All HTTP headers have been received. Several response members of the object are now available.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span style="color: rgb(255, 69, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;LOADING&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(numeric value 3)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;The&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#response-entity-body#response-entity-body"&gt;&lt;span style="color: rgb(0, 0, 204);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;response entity body&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;is being received.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; "&gt;&lt;span style="color: rgb(255, 69, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;DONE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;(numeric value 4)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;The data transfer has been completed or something went wrong during the transfer (e.g. infinite redirects).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(255, 153, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#opened-state#opened-state" style="text-decoration: none;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;OPENED&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;state has an associated&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;send()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;flag&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;that indicates whether the&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#send#send"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;send()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;method has been invoked. It can be either true or false and has an initial value of false.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(255, 153, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/#done-state#done-state" style="text-decoration: none;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;DONE&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;state has an associated&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;error flag&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;that indicates some type of network error or abortion. It can be either true or false and has an initial value of false.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Note that we can POST data to the server (typically in XML format), or for simple cases, we could use GET and append some parameters to the URL. In the latter case, we'd just pass&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;null&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;to the&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;send()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;method.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;We &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;used to &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;pass in a&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;local URL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;to the site from which the page is loaded. For security reasons:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;[The Cross URL XMLHttpRequest Will be discussed later. Viz Cross XHR], The &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Browsers&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Policies &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;won't&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;let you make an&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;to a URL from a&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;different host&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;to that from which the page was loaded.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" text-decoration: underline;font-size:13px;"&gt;&lt;b&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;3.Process data in the callback handler&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;As the Name says the call back method will not be executed at once,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; but rather&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;asynchronously&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Once the response came from the Server for every status of XMLHttpRequest.readyState this method will be invoked.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;function responseProcessingFunction() {&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;// state of 4 means request completed&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;if (xhr.readyState == 4) {&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;var responseXML = xhr.responseXML;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;// ... process &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;the response &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 24pt; background-color: rgb(238, 238, 238); "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:13px;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;The resadyState = 4 means the request is &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 69, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;DONE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" text-decoration: underline;font-size:13px;"&gt;&lt;b&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Limitation of &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Ajax&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;As the name suggests &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; requires JavaScript Enabled Browsers.If &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;the&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Browser &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;doesn’t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; support or disabled &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;the&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Application will not be running in web browsers. This alone means that &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; applications will not work in web browsers and devices that do not support JavaScript. For this reason it is not accessible to many typical Web users                                                                 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;This is one of the limitations of the technology but as it’s having so many features the technology has many drawbacks too.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Future of &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Ajax&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; is an extension of DHTML programming, adding the capability to dynamically send and retrieve data from the web server in response to user actions.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;The biggest challenges in creating &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Ajax&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; applications are not technical. The core &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Ajax&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; technologies are mature, stable, and well understood. Instead, the challenges are for the designers of these applications: to forget what we think we know about the limitations of the Web, and begin to imagine a wider, richer range of possibilities.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; is a tool that web developers can use to create smarter web applications that behave better than traditional web applications when interacting with humans.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Ajax&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; has changed the face of the web forever. Save for some of the browser enhancements and a few other technologies, I dare to say that it’s had the most significant impact on the way we use the internet in its short life.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" text-decoration: underline;font-size:13px;"&gt;&lt;b&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;A Simple practical Example in JSP.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:'lucida grande';font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" text-decoration: underline;font-size:13px;"&gt;&lt;b&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  "&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AjaxExample.html&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: html"&gt;&amp;lt;script language="JavaScript"&amp;gt;&lt;br /&gt;    function concatName()&lt;br /&gt;    {&lt;br /&gt;      // Create the XML request &lt;br /&gt;      var firstName=document.getElementById("firstName").value;&lt;br /&gt;      var lastName=document.getElementById("lastName").value;&lt;br /&gt;      var URL="concat.jsp?firstName="+firstName+"&amp;lastName="+lastName;&lt;br /&gt;      xmlReq = null;&lt;br /&gt;      if(window.XMLHttpRequest)&lt;br /&gt;         xmlReq = new XMLHttpRequest();&lt;br /&gt;      else if(window.ActiveXObject)               &lt;br /&gt;      xmlReq = new ActiveXObject("Microsoft.XMLHTTP");&lt;br /&gt;      if(xmlReq==null){&lt;br /&gt;         alert('Failed to Create Request.....')&lt;br /&gt;         return; // Failed to create the request&lt;br /&gt;      }&lt;br /&gt;&lt;br /&gt;      // Anonymous function to handle changed request states&lt;br /&gt;      xmlReq.onreadystatechange = function()&lt;br /&gt;         {&lt;br /&gt;             switch(xmlReq.readyState){&lt;br /&gt;              case 0:              // Uninitialized&lt;br /&gt;                      break;&lt;br /&gt;              case 1: // Loading&lt;br /&gt;                      break;&lt;br /&gt;              case 2: // Loaded&lt;br /&gt;                      break;&lt;br /&gt;              case 3: // Interactive&lt;br /&gt;                      break;&lt;br /&gt;              case 4: // Done!&lt;br /&gt;              // Alerting teh response as Text, and processing the responseXML(We are responding         as and XML from Server.)&lt;br /&gt;                      processResponseText(xmlReq.responseText);&lt;br /&gt;                      break;&lt;br /&gt;              default:&lt;br /&gt;                      break;&lt;br /&gt;            }&lt;br /&gt;         }&lt;br /&gt;      // Make the request&lt;br /&gt;      xmlReq.open ('GET', URL, true);&lt;br /&gt;      xmlReq.send (null);&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   function processResponseText(responseText){&lt;br /&gt;      var fullName=responseText;&lt;br /&gt;      document.getElementById("concatName").value=fullName;&lt;br /&gt;   }&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;h1&gt;AJAX Example&lt;/h1&gt;A Simple Concatenation Function Using AJAX&lt;br /&gt;     First Name              &lt;input id="firstName"&gt; +&amp;lt;br/&amp;gt;&lt;br /&gt;     Last Name              &lt;input id="lastName"&gt; -- &lt;br /&gt;     &amp;lt;input type="button" value="Concatenate Name" onclick="concatName()"&amp;gt; --&lt;br /&gt;     ConcatenatedName= &amp;lt;input id="concatName"&amp;gt;&lt;br /&gt;   &amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;Concat.jsp&lt;/div&gt;&lt;pre class="brush: java"&gt;&amp;lt;%&lt;br /&gt;    String firstName = request.getParameter("firstName");&lt;br /&gt;    String lastName = request.getParameter("lastName");&lt;br /&gt;    String fullName=firstName+" "+lastName;&lt;br /&gt;    &amp;lt;%=fullName%&amp;gt;&lt;br /&gt;    %&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;h1&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;AJAX Example &lt;span class="Apple-style-span"  style=" font-weight: normal; font-size:16px;"&gt;This Page have simple the Concatenating Java Code.Just a replacement of Java Servlet to make the Example Simpler.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;b&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Reference:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;a href="http://www.javamex.com/tutorials/ajax/xmlhttprequest.shtml"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;http://www.javamex.com/tutorials/ajax/xmlhttprequest.shtml&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;a href="http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;http://www.w3.org/TR/2009/WD-XMLHttpRequest-20090820/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;a href="http://www.w3schools.com/Ajax/ajax_example.asp"&gt;&lt;span style="color: rgb(0, 0, 255);  "&gt;&lt;u&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;http://www.w3schools.com/Ajax/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;A&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;nd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Obviously&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Google,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-2372242111119406433?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/2372242111119406433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=2372242111119406433' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/2372242111119406433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/2372242111119406433'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/09/ajax-complete-tutorial-using-java.html' title='AJAX: The Complete Tutorial Using Java Script'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-7960348595678669971</id><published>2009-09-02T10:23:00.000-07:00</published><updated>2009-09-08T19:53:14.705-07:00</updated><title type='text'>Cross XHR</title><content type='html'>&lt;span class="Apple-style-span"  style=" ;font-family:'Times New Roman';"&gt;&lt;div   style="margin-top: 6px; margin-right: 6px; margin-bottom: 6px; margin-left: 6px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;   background-color: rgb(255, 255, 255); min-height: 1100px; counter-reset: __goog_page__ 0; line-height: normal; font-family:'Times New Roman';font-size:12pt;"&gt;&lt;div class="Section1" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: center; "&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:180%;"&gt;Cross XHR.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Normally the web application make request to the same server.&lt;/span&gt;&lt;/span&gt; &lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Cross XHR is simply the Cross Domain XMLHttpRequest, which is used to access some other service in different port of the same server, or to any other domain&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;/Servers&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;. &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Web application technologies commonly apply same-origin restrictions to network requests. These Restrictions prevents &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;a client-side Web application running from one origin &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;retrieving &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;data from another origin, and also limit the amount of unsafe HTTP requests that can be automatically launched toward destinations that differ from the running application's origin&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; which is called as “&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;i&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;Same origin policy for JavaScript&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;”&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:Garamond;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;For Example:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;You are running your Website in &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.mywebsite.com/"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;www.mywebsite.com&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;If you &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;has to &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;make an XHR &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;for other server like &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.myothersite.com/"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;www.myothersite.com&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt; &lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;the &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;XHR.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;response will as follows in different Browsers.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:Garamond;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;The Code for &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;AJAX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class="brush: javascript"&gt;try{&lt;br /&gt;  // Firefox, Opera 8.0+, Safari&lt;br /&gt;  xmlHttp=new XMLHttpRequest();&lt;br /&gt;}catch (e){&lt;br /&gt;  //Internet Explorer&lt;br /&gt;  try{&lt;br /&gt;      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");&lt;br /&gt;  }catch (e){&lt;br /&gt;      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;xmlHttp.open("POST",”www.myothersite.com” , true);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul type="disc" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;Internet Explorer.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Here it will you a warning that &lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: rgb(255, 255, 0); color: rgb(128, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;“To help protect your security, Internet Explorer has restricted this &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;file from showing active content that could access your computer. Click here for details.”&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;.&lt;/span&gt;&lt;/span&gt; &lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;After &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Allowing th&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;at you can access the yahoo.com or any server request.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul type="disc" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;Mozilla Firefox &amp;amp; Google Chrome&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 36pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;No Warning or message will be shown but the response (xmlHttp.responseText)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Will&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; be a &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;Zero length string&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; It shows it stops if the &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;request violates&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; Browser policies.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:Garamond;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;/span&gt;We can summarize as follows.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt; For a URL (&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;http://&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;mywebsite.com&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;)&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;table cellspacing="0" cellpadding="0" class="zeroBorder"   style=" line-height: inherit; border-collapse: collapse; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- margin-left: 0pt; font-size:1em;color:gray;"&gt;&lt;tbody&gt;&lt;tr style="text-align: left; height: 20.4pt; "&gt;&lt;td style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left-color: gray; background-color: rgb(238, 238, 238); vertical-align: middle; "&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;URL&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left-color: gray; background-color: rgb(238, 238, 238); vertical-align: middle; "&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Outcome&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left-color: gray; background-color: rgb(238, 238, 238); vertical-align: middle; "&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Reason&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; height: 18pt; "&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;http://&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;mywebsite.com&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;/dir2/other.html&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Success&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; "&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;http://&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;mywebsite.com&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;/dir/inner/another.html&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Success&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 36pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; "&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;https://&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;mywebsite.com&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;/secure.html&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Failure&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Different protocol&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; "&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;http://&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;mywebsite.com&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;:81/dir/etc.html&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Failure&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Different port&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="text-align: left; "&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;http://news.company.com/dir/other.html&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Failure&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td  style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: gray; border-right-color: gray; border-bottom-color: gray; border-left- vertical-align: top; color:gray;"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; text-align: justify; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Different host&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:Garamond;color:#444444;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;Now our next target is How to Achieve Cross XHR.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;W3C has introduced new Specification &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;called &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.w3.org/TR/access-control/"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Cross-Origin Resource S&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;h&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;aring (CORS)&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;.&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; "&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;This&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;specification consists of a simple header exchange between client-and-server, and is used by&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc288060%28VS.85%29.aspx"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;IE8’s proprietary X&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;D&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;omainRequest&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;object as well as by&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;XMLHttpRequest&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;in browsers such as Firefox 3.5 and Safari 4 to make cross-&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(50, 49, 51);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;site&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; requests. These browsers make it possible to make asynchronous HTTP calls&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;i&gt;&lt;span style="font-size:100%;"&gt;within script&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;to other domains&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; with GET and POST requests&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;i&gt;&lt;span style="font-size:100%;"&gt;provided&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;the resources being retrieved are returned with the appropriate CORS headers&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"   style="font-family:Garamond;color:#444444;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;Cross-Origin Resource Sharing (CORS)&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(68, 68, 68);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;It is nothing but adding the Access Control header in the Domain which is need to be accessed using Cross Domain. For example in &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.myothersite.com/"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;www.myothersite.com&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; we need to add one header as follows for any access from &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;&lt;a href="http://docs.google.com/www.mysite.com"&gt;www.mysite.com&lt;/a&gt; &lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="color: rgb(37, 34, 29);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Access-Control-Allow-Origin: &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.myothersite.com/"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;http://www.myothersite.com&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:Garamond;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;For more details on Access Control please look in the following links.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol type="1" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;a href="http://www.w3.org/TR/access-control/#simple-cross-origin-request"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;W3&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;C Cross Domain Documents&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;a href="https://developer.mozilla.org/En/HTTP_access_control"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;Mozill&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;a HTTP Access Control&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:Garamond;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;Hacking Using Cross XHR.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Different Cross XHR approaches in Internet are:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol type="1" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Create &lt;/span&gt;&lt;/span&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;one&lt;/span&gt;&lt;/span&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; webservice to the other website in the same Server and give to client side using the same domain name.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ol type="a" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Yes definitely now it is a server side programming, Nothing to worry about Cross XHR Javascript Policies. It will work Fine.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Using IFrame &lt;/span&gt;&lt;/span&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;which connect to other websites and render locally.Use Javascript to handle the IFrame Data.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ol type="a" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style=" ;font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;Here the issue that Javascript will not allow to connect any IFrame in the document which has the different domain Name.Hence this approach will not work.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;By Using &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;FlashXmlHttprequest&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ol type="a" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;I have tried the example it was not working. Still the security issues.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;you can look at the example &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blog.monstuff.com/FlashXMLHttpRequest/demo/"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;here&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;“&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;Cross Domain XMLHttpRequest using an IFrame Proxy&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;b&gt;&lt;span style="font-size:100%;"&gt;”&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; provided in the dojotoolkit. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.dojotoolkit.org/node/87"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;Dojotoolkit Open here&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;ol type="a" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;I &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;haven’t&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; tried this, please try this and let me know.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:Garamond;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span style="color: rgb(0, 0, 0);  font-family:Garamond;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;Reference:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol type="1" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;ol type="1" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;ol type="1" style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;a href="http://www.w3.org/TR/access-control/"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;http://www.w3.org/TR/access-control/&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;a href="https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;a href="http://hacks.mozilla.org/2009/07/cross-site-xmlhttprequest-with-cors/"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;http://hacks.mozilla.org/2009/07/cross-site-xmlhttprequest-with-cors/&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;a href="https://developer.mozilla.org/En/HTTP_access_control"&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;https://developer.mozilla.org/En/HTTP_access_control&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;span style="color: rgb(0, 0, 255);  font-family:Garamond;"&gt;&lt;u&gt;&lt;span style="font-size:100%;"&gt;www.google.com&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/li&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Garamond;color:#0000FF;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-7960348595678669971?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/7960348595678669971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=7960348595678669971' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/7960348595678669971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/7960348595678669971'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/09/cross-xhr.html' title='Cross XHR'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-1023610034554333307</id><published>2009-08-22T00:36:00.001-07:00</published><updated>2009-08-25T19:20:43.668-07:00</updated><title type='text'>Happy Ramzan</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="color:#FF6600;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;Ramadan Mubarak&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"   style="font-size:6;color:#FF6600;"&gt;&lt;span class="Apple-style-span" style="font-size: 24px; text-decoration: underline;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SpSbkmr7WAI/AAAAAAAAA2o/M8-LcWIkzoo/s1600-h/ramadan+Mubarak.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 372px; height: 400px;" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SpSbkmr7WAI/AAAAAAAAA2o/M8-LcWIkzoo/s400/ramadan+Mubarak.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5374091308522231810" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style=""&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-1023610034554333307?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/1023610034554333307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=1023610034554333307' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/1023610034554333307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/1023610034554333307'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/08/happy-ramzan.html' title='Happy Ramzan'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_E9mmpB2Ty4I/SpSbkmr7WAI/AAAAAAAAA2o/M8-LcWIkzoo/s72-c/ramadan+Mubarak.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-7696486621441101392</id><published>2009-08-21T23:58:00.000-07:00</published><updated>2009-08-21T23:59:11.973-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ramdan'/><category scheme='http://www.blogger.com/atom/ns#' term='benefits'/><category scheme='http://www.blogger.com/atom/ns#' term='health'/><title type='text'>The Benefits of Fasting</title><content type='html'>&lt;span style="font-family:Verdana;font-size:85%;"&gt;The original meaning &lt;i&gt;sawm&lt;/i&gt; is to be at rest. We give rest to the gastro-intestinal tract, the sexual organs, the tongue, the eyes and ears, etc. The transit time for a bolus of food from the mouth to the end of the large intestine, called colon, is about 14 hours. This is the period - of 14 hours - during which we fast and withhold any stimulus, reaching the stomach and the digestive system.&lt;br /&gt;&lt;br /&gt;In fact, fasting is an additional safety device for the regenerative processes of the body. The repair processes of the body and the brain, including the memory molecules take place when the body is at rest, especially during the stage of deep sleep. Sleeping during Ramadan is much deeper than in other times. Two hours of sleep during Ramadan are more satisfying and refreshing than more hours of sleep otherwise.&lt;br /&gt;&lt;br /&gt;Fasting significantly increases deep sleep and reduces the dreaming time, which takes place during the Rapid Eye Movement (REM) sleep. Therefore, it is more beneficial for the elderly to fast because their normal hours of deep sleep in the non-fasted state are much less.&lt;br /&gt;&lt;br /&gt;Fasting is a divine prescription, because Allah Himself prescribed it in the Qur’an. Because the Islamic fast does not exceed 14 hours or so, the normal steady state of the body is maintained as a result of coordinated physiological mechanisms. Hence, nearly all the biochemical results in the laboratory are normal.&lt;br /&gt;&lt;br /&gt;During fasting, serum magnesium is increased and…&lt;/span&gt;   &lt;ul&gt;&lt;li&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span dir="ltr"&gt;&lt;span style="font-weight: normal; color: black;"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Magnesium has cardio-protective effects and it is being used in prevention and treatment of heart attacks.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span dir="ltr"&gt;&lt;span style="font-weight: normal; color: black;"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;It has anti-platelet properties and prevents extension of the clot.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span dir="ltr"&gt;&lt;span style="font-weight: normal; color: black;"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;It is a membrane stabilizer acting on the sodium/potassium/calcium flux at the membrane level. Hence, it prevents cardiac and cerebral dysrhythmias.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span dir="ltr"&gt;&lt;span style="font-weight: normal; color: black;"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Fasting, through the beneficial effects of magnesium, prevents the formation of atheroma as well as dissolves atheromatous plaques which are responsible for heart attacks and strokes. Hence, fasting takes an active part in the rejuvenating processes of the body through many channels.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span dir="ltr"&gt;&lt;span style="font-weight: normal; color: black;"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;It increases the fibrinolytic activity of the blood, which leads to prevention and also dissolution of any recent clot.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"&gt;&lt;span style="font-weight: normal; color: black;"&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Ramadan puts a healthy mind into a healthy body. During fasting, there is increased secretion of the growth hormone by the pituitary gland. It is an anabolic hormone for synthesis of proteins and collagen, which produces a positive nitrogen balance. It also stimulates erythropoiesis, as well as collagen synthesis.&lt;br /&gt;&lt;br /&gt;During the exercise of fasting, prayers and different spiritual experiences of Ramadan, certain endogenous substances are released by the brain and spinal cord into the body called opioids, which include enkephalins and endorphins. These are responsible for euphoria, tranquility and serenity during such periods.&lt;br /&gt;&lt;br /&gt;Endorphins and enkephalins are natural painkillers. Endorphins may be responsible for the "feel nice" effects, experienced by many people after rigorous exercise. Endorphins and enkephalins are derived from beta-lipotropin. On release, it is cleaved to form three major active products: called met-enkephalin, gamma-endorphin, and beta-endorphin.&lt;br /&gt;&lt;br /&gt;Beta-endorphin is most active, and is about 20 times as potent as morphine. In addition to their painkilling properties, the narcotic analgesics cause a profound feeling of well-being (euphoria). It is this feeling that is in part responsible for the psychological drive of certain persons who are fasting. Other mechanisms reduce pain sensation by blocking the transmission of pain message to the brain.&lt;br /&gt;&lt;br /&gt;To alter the pain sensation, the brain and spinal cord release specialized neurotransmitters called endorphins and enkephalins. These chemicals interfere with pain impulse transmission by occupying the nerve cell receptors, required to send the impulse across the synapse. By making the pain impulse travel less efficiently, endorphins and enkephalins can significantly lessen the perception of pain. In extreme circumstances, they can even make severe injuries nearly painless.&lt;br /&gt;&lt;br /&gt;If an athlete is injured during the height of competition, or a soldier injured during a fight, or persons who are fasting, they may not realize they have been hurt, until after the stressful situation has ended! This happens because the brain produces abnormally high levels of endorphins or enkephalins, in periods of intense stress, excitement or fasting.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;strong&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Fasting and bio-rhythm&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-weight: normal; color: black;"&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Muslims who have been fasting regularly since childhood have been exposed to different sleep/wake and light/darkness cycles on a daily basis in one annual lunar month. Hence, it may be easier for such persons to synchronize at a faster rate their circadian, circa-lunar and circa-annual bio-rhythms, under difficult conditions.&lt;br /&gt;&lt;br /&gt;Therefore, it is expected that Muslims who fast regularly would least suffer from jet lag while traveling in a plane from West to East and that health problems in Muslim shift-workers would be minimal. In fact, the central circadian biological clock is located in the suprachiasmatic nucleus of the hypothalamus. It is a cluster of about 10,000 neurons on either side of the mid line, above the optic chiasma about 3 cm behind the eye.&lt;br /&gt;&lt;br /&gt;Re-setting proceeds at the rate of 1-2 hours/day to adapt to a reversed shift pattern. There are widespread individual variations in the rapidity of resynchronization. Muslims who fast regularly and who have had disturbed wakefulness/sleep cycles on a daily lunar annual basis, can adapt themselves much faster to different conditions during international travel. This is while crossing time zones and do not suffer from the ill effects of jet lag.&lt;br /&gt;&lt;br /&gt;It is also a common observation that as soon as Ramadan is over, normal circadian rhythms are established within the fasted Muslim, with such great rapidity on the first day of the following month of Shawal. This means that `Eid-al-Fitr (Minor Feast) is to be at par with pre-Ramadan levels.&lt;br /&gt;&lt;br /&gt;Normally, a period of three weeks is required for resynchronization, among shift workers. As the fasting Muslim attunes himself to resynchronization processes, during the space of just over four weeks in Ramadan, his health problems - as a shift worker - would be negligible. His synchronization processes would be more rapid, whether during Ramadan or any other time.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;strong&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;The Benefits of Long Night Prayers&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-weight: normal; color: black;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Moreover, the social contact during &lt;i&gt;tarawih&lt;/i&gt; or &lt;i&gt;qiyam&lt;/i&gt; (long night prayers) and other social spiritual activities should act as a &lt;i&gt;zeitgeber&lt;/i&gt; (from German ‘time-giver’). This is what regulates any desynchronized biological rhythm.&lt;br /&gt;&lt;br /&gt;Throughout the year, the average Muslim performs his 5-time daily obligatory prayers, as well as the optional ones. This amounts to gentle physical exercise, involving each and every muscle in the body. During the month of fasting, additional prayers of 8-20 &lt;i&gt;rak`as&lt;/i&gt; (physical unit of prayer) are also performed at nights. Approximately, 200 kcals. are utilized during &lt;i&gt;qiyam&lt;/i&gt; for the 20 &lt;i&gt;rak`as&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;Such additional exercise utilizes any extra calories, ingested at &lt;i&gt;iftar&lt;/i&gt; (meal for breaking the fast) approximately 1-2 hours earlier. Simultaneously, the blood glucose is steadily rising in the blood from the ingested nutrients; the circulating glucose is oxidized to CO2 and H20 during the prayers.&lt;br /&gt;&lt;br /&gt;The physical movements during &lt;i&gt;qiyam&lt;/i&gt; prayers improve flexibility, co-ordination and relaxation response. It also reduces stress-related autonomic responses in normal persons and relieves anxiety and depression. Adrenaline and noradrenalin are secreted during the physical exercise of &lt;i&gt;qiyam&lt;/i&gt;. They are responsible for the consequent dynamism, which now combines with the tranquility and the serenity, due to the secretion of enkephalins, endorphins, dynorphins and others.&lt;br /&gt;&lt;br /&gt;This makes the night prayers unique in the sense that dynamism is combined in the same individual with serenity, euphoria and dignity. The effects of adrenaline and noradrenaline are apparent, even after long night prayers is over, as evidenced by the continuing activity. In fact, even the thought or intention of performing &lt;i&gt;qiyam&lt;/i&gt; prayers is sufficient to activate the sympathetic nervous system. Persons who fast and perform &lt;i&gt;qiyam&lt;/i&gt; report feeling much better and healthier.&lt;br /&gt;&lt;br /&gt;Repeated and regular movements of the body during prayers improve muscle tone and power, tendon strength, joint flexibility and the cardio-vascular reserve. The body movements help to prevent osteoporosis in the osteoporotic bones of elderly men and post-menopausal women.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"&gt; &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"&gt;&lt;span style="font-weight: normal; color: black;"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;The strain put on the forearm, during prostration in lifting the body from the ground, increases the bone mineral content of the forearm. The varying load during the different postures causes a lubricating effect and a protective flow of synovial fluid into the joint cavity. The reinforcement of the calf muscle pump by active ankle movements prevents deep vein thrombosis, which is a common cause of chronic ulcers of the legs in the elderly.&lt;br /&gt;&lt;br /&gt;Exercise prevents coronary heart disease, improves carbohydrate tolerance and ameliorates late-onset type 2 diabetes. Growth hormone secretion elevated by fasting is further elevated by exercise of long night prayers. As this hormone is necessary for collagen formation, this may be an important factor in the long delay of the wrinkling of skin for the fasting Muslim who performs &lt;i&gt;qiyam&lt;/i&gt; prayers.&lt;br /&gt;&lt;br /&gt;Exercise of &lt;i&gt;qiyam&lt;/i&gt; improves mood, thought and behavior. Memory for short-term events deteriorates with old age. Prayers improve memory in the elderly, for short-term events, by keeping the memory pathways in the brain open and communicating with each other, especially with constant repetition of the verses from the holy Qur’an and other supplications of Allah’s glory. This also helps to screen the mind from other incoming thoughts.&lt;br /&gt;&lt;br /&gt;The repetition of a prayer, supplications of glorification, &lt;i&gt;dhikr&lt;/i&gt; (words glorifying Allah) or muscular activity, coupled with passive disregard of intrusive thoughts, causes a relaxation response, leading to lowering of B.P. and decrease in oxygen consumption, as well as a reduction in the heart and respiratory rates.&lt;br /&gt;&lt;br /&gt;All these are combined in &lt;i&gt;qiyam&lt;/i&gt; prayers, which is an ideal situation for relaxation response, as it combines repeated muscular activity with repetition of words of glorification of Allah and supplications. Thus &lt;i&gt;qiyam&lt;/i&gt; puts the mind at ease. Islamic prayers are unique in that tension builds up in the muscles, during the physical movements of prayers, with accompanying adrenaline and noradrenalin. Simultaneously, tension is relieved in the mind due to the spiritual component, assisted by the secretion of enkephalins, endorphins, dynorphins and others.&lt;br /&gt;&lt;br /&gt;All those persons who perform &lt;i&gt;qiyam&lt;/i&gt; prayers feel more alert and active, even after the age of retirement. They can meet with unexpected challenges of life much better, such as running for a bus! This improves their stamina, self-esteem and self-confidence in being independent.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-7696486621441101392?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/7696486621441101392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=7696486621441101392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/7696486621441101392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/7696486621441101392'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/08/benefits-of-fasting.html' title='The Benefits of Fasting'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-29917829249137619</id><published>2009-07-25T02:54:00.000-07:00</published><updated>2009-07-25T03:48:50.954-07:00</updated><title type='text'>Country State Dropdown Data / Java Program to create Country State Database Table Data</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Hi,&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I have been struggling long time to get the information for the country state Database Table Data and its implementation in My most of the application,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I have searched through net and now i got few data from the site and I have created Java file to generate the SQL Queries.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The Table Structure i have created as Follows.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;Country&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;ID [PK]&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;NAME [VARCHAR].&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;State&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;ID [PK]&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;NAME [VARCHAR]&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;COUNTY_ID [PK] Foreign key to Country Table&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;You can download the java Class file to generate the SQL Queries directly from My Google Docs  &lt;/span&gt;&lt;span class="Apple-style-span" style="  white-space: pre; "&gt;&lt;a href="http://docs.google.com/Doc?docid=0AW0ekoc5wU3rZGYyMnZrZmtfN2NtYnF3dmQ0&amp;amp;hl=en"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;http://docs.google.com/Doc?docid=0AW0ekoc5wU3rZGYyMnZrZmtfN2NtYnF3dmQ0&amp;amp;hl=en&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" white-space: pre;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style=" white-space: pre;"&gt;&lt;span class="Apple-style-span" style="  white-space: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If you require the SQL File Directly you can download from My Docs as .&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="  white-space: pre; "&gt;&lt;a href="http://docs.google.com/Doc?docid=0AW0ekoc5wU3rZGYyMnZrZmtfOGQzM2c4NGdr&amp;amp;hl=en"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;http://docs.google.com/Doc?docid=0AW0ekoc5wU3rZGYyMnZrZmtfOGQzM2c4NGdr&amp;amp;hl=e&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;n&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial;"&gt;&lt;span class="Apple-style-span" style=" white-space: pre;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;I am Thankful to the website &lt;/span&gt;&lt;span class="Apple-style-span"  style=" white-space: normal; border-collapse: collapse;  font-family:arial;"&gt;&lt;a href="http://www.microcosmotalk.com/tech/scripts/" target="_blank" style="color: rgb(28, 81, 168); "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;http://www.microcosmotalk.com/&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;wbr&gt;tech/scripts/&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;span class="Apple-style-span"  style="border-collapse: separate;   white-space: pre; font-family:Georgia;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;for the datas of countries and States in their site javascipt file.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span"  style=" white-space: normal; border-collapse: collapse;  font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="border-collapse: separate;   white-space: pre; font-family:Georgia;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;[I converted Java and sql file to txt format just to upload in Google Docs. :) ]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Hope it will help you out.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Any Concerns Contact :- askeralim@gmail.com&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-29917829249137619?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/29917829249137619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=29917829249137619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/29917829249137619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/29917829249137619'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2009/07/country-state-dropdown-data-java.html' title='Country State Dropdown Data / Java Program to create Country State Database Table Data'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-5854953917954685529</id><published>2008-12-30T01:43:00.000-08:00</published><updated>2009-11-10T21:05:03.107-08:00</updated><title type='text'>Show Business Logic Validation/Error/Exception in JSF pages Using AJAX4JSF in Seam Application.</title><content type='html'>I am facing issue while adding FacesMessages to the Current FacesConfig. My Implementation is as Follows&lt;br /&gt;public void addUser(){&lt;br /&gt;......&lt;br /&gt;String message = "Duplicate user name. Username already exists";&lt;br /&gt;FacesContext.getCurrentInstance().addMessage(null, new FacesMessage( FacesMessage.SEVERITY_INFO, message, message));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;But I am getting the following warning and I am not able to Show the error message in the Client Side Page.&lt;br /&gt;&lt;br /&gt;WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.sourceId=rstReport:timeHorizonDecoration:timeHorizon[severity=(ERROR 2), summary=(value is required), detail=(value is required)]&lt;br /&gt;&lt;br /&gt;The Solution I made as&lt;br /&gt;I have Created a Utility class to add the Error messages into the Current FacesConfig Instance.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;&lt;br /&gt;import java.util.Iterator;&lt;br /&gt;&lt;br /&gt;import javax.faces.application.FacesMessage;&lt;br /&gt;import javax.faces.component.UIComponent;&lt;br /&gt;import javax.faces.context.FacesContext;&lt;br /&gt;&lt;br /&gt;public class ErrorMsgUtil {&lt;br /&gt;   public static void addError(FacesMessage.Severity severity,String componentId,String    messageText){&lt;br /&gt;       FacesMessage message = new FacesMessage(messageText);&lt;br /&gt;       FacesContext context = FacesContext.getCurrentInstance();&lt;br /&gt;       UIComponent component = findComponent(context.getViewRoot(), componentId);&lt;br /&gt;       context.addMessage(component.getClientId(context), message);&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   private static UIComponent findComponent(UIComponent parent, String id) {&lt;br /&gt;       if(id.equals(parent.getId())) {&lt;br /&gt;          return parent;&lt;br /&gt;       }&lt;br /&gt;       Iterator&lt;uicomponent&gt; kids = parent.getFacetsAndChildren();&lt;br /&gt;       while(kids.hasNext()) {&lt;br /&gt;          UIComponent kid = kids.next();&lt;br /&gt;          UIComponent found = findComponent(kid, id);&lt;br /&gt;          if(found != null) {&lt;br /&gt;             return found;&lt;br /&gt;          }&lt;br /&gt;       }&lt;br /&gt;       return null;&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;And I have Called the Error Method as Follows&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;&lt;br /&gt;public void addUser(){&lt;br /&gt;   try{&lt;br /&gt;      ...........&lt;br /&gt;      ... addUser ... Code&lt;br /&gt;   }catch(UserAlreadyExistException e){&lt;br /&gt;      String message = "Duplicate user name. Username already exists";&lt;br /&gt;      ErrorMsgUtil.addError(FacesMessage.SEVERITY_ERROR,"errorMsg", msg);&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;and added one h:message for="errorMsg";&lt;br /&gt;&lt;br /&gt;It is working fine for the AJAX4JSF Page implementation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-5854953917954685529?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/5854953917954685529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=5854953917954685529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5854953917954685529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/5854953917954685529'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2008/12/show-business-logic-validationerrorexce.html' title='Show Business Logic Validation/Error/Exception in JSF pages Using AJAX4JSF in Seam Application.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-150768090116314549</id><published>2008-12-22T07:17:00.000-08:00</published><updated>2008-12-22T07:21:06.150-08:00</updated><title type='text'>MSSQL Database Backup Using Microsoft SQL Server Management Studio 2005</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/SU-v564KHWI/AAAAAAAAArc/cNs90lEphzY/s1600-h/1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 392px;" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/SU-v564KHWI/AAAAAAAAArc/cNs90lEphzY/s400/1.JPG" alt="" id="BLOGGER_PHOTO_ID_5282634297521085794" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SU-v98ejOOI/AAAAAAAAArk/Ke3IXcWIXlU/s1600-h/2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 333px;" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SU-v98ejOOI/AAAAAAAAArk/Ke3IXcWIXlU/s400/2.JPG" alt="" id="BLOGGER_PHOTO_ID_5282634366670026978" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_E9mmpB2Ty4I/SU-wCkC3tyI/AAAAAAAAArs/3O6GtUPnmtg/s1600-h/3.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 337px;" src="http://3.bp.blogspot.com/_E9mmpB2Ty4I/SU-wCkC3tyI/AAAAAAAAArs/3O6GtUPnmtg/s400/3.JPG" alt="" id="BLOGGER_PHOTO_ID_5282634446010824482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_E9mmpB2Ty4I/SU-wFx00f6I/AAAAAAAAAr0/avPi0sPqfos/s1600-h/4.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 167px;" src="http://1.bp.blogspot.com/_E9mmpB2Ty4I/SU-wFx00f6I/AAAAAAAAAr0/avPi0sPqfos/s400/4.JPG" alt="" id="BLOGGER_PHOTO_ID_5282634501249597346" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-150768090116314549?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/150768090116314549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=150768090116314549' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/150768090116314549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/150768090116314549'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2008/12/mssql-database-backup-using-microsoft.html' title='MSSQL Database Backup Using Microsoft SQL Server Management Studio 2005'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E9mmpB2Ty4I/SU-v564KHWI/AAAAAAAAArc/cNs90lEphzY/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-4561067503795203623</id><published>2008-12-10T23:46:00.000-08:00</published><updated>2008-12-10T23:48:31.985-08:00</updated><title type='text'>javax.faces.FacesException: 530-5.5.1 Authentication Required. Learn more at                     530 5.5.1 http://mail.google.com/support/bin/answer.</title><content type='html'>javax.faces.FacesException: 530-5.5.1 Authentication Required. Learn more at                   &lt;br /&gt;530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 i6sm1479332tid.16&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:146)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.ui.util.JSF.renderChild(JSF.java:181)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.ui.util.JSF.renderChildren(JSF.java:163)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.ui.facelet.FaceletsRenderer.renderFacelet(FaceletsRenderer.java:206)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.ui.facelet.FaceletsRenderer$1.process(FaceletsRenderer.java:160)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.ui.facelet.FaceletsRenderer$RenderingContext.run(FaceletsRenderer.java:78)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:169)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.domain.EMSeam2.session.email.EmailAction.send(EmailAction.java:19)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:48)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor428.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:94)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:117)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at $Proxy168.send(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.javassist.tmp.java.lang.Object_$$_javassist_1.send(Object_$$_javassist_1.java)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Unknown Source)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:328)&lt;br /&gt;13:11:44,855 ERROR [STDERR]     at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at javax.faces.component.UICommand.broadcast(UICommand.java:383)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at java.lang.Thread.run(Unknown Source)&lt;br /&gt;13:11:44,871 ERROR [STDERR] Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530-5.5.1 Authentication Required. Learn more at                   &lt;br /&gt;530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 i6sm1479332tid.16&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:141)&lt;br /&gt;13:11:44,871 ERROR [STDERR]     ... 129 more&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To Resolve this Issue, Add the property&lt;br /&gt;mail.smtp.auth in property file with Value="True"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-4561067503795203623?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/4561067503795203623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=4561067503795203623' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/4561067503795203623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/4561067503795203623'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2008/12/javaxfacesfacesexception-530-551.html' title='javax.faces.FacesException: 530-5.5.1 Authentication Required. Learn more at                     530 5.5.1 http://mail.google.com/support/bin/answer.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-2094321564699631646</id><published>2008-12-10T23:08:00.002-08:00</published><updated>2008-12-10T23:29:51.565-08:00</updated><title type='text'>javax.faces.FacesException: 530 5.7.0 Must issue a STARTTLS command first. b4sm3763817tic.22</title><content type='html'>Solution is At the End.&lt;br /&gt;&lt;br /&gt;12:34:40,096 ERROR [STDERR]     at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:146)&lt;br /&gt;12:34:40,096 ERROR [STDERR]     at org.jboss.seam.ui.util.JSF.renderChild(JSF.java:181)&lt;br /&gt;12:34:40,096 ERROR [STDERR]     at org.jboss.seam.ui.util.JSF.renderChildren(JSF.java:163)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.ui.facelet.FaceletsRenderer.renderFacelet(FaceletsRenderer.java:206)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.ui.facelet.FaceletsRenderer$1.process(FaceletsRenderer.java:160)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at&lt;br /&gt;&lt;br /&gt;org.jboss.seam.ui.facelet.FaceletsRenderer$RenderingContext.run(FaceletsRenderer.java:78)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:169)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.domain.EMSeam2.session.email.EmailAction.send(EmailAction.java:19)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:48)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:94)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:117)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at $Proxy168.send(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.javassist.tmp.java.lang.Object_$_javassist_1.send(Object_$_javassist_1.java)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:328)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at javax.faces.component.UICommand.broadcast(UICommand.java:383)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)&lt;br /&gt;12:34:40,112 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at java.lang.Thread.run(Unknown Source)&lt;br /&gt;12:34:40,112 ERROR [STDERR] Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. b4sm3763817tic.22&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:141)&lt;br /&gt;12:34:40,112 ERROR [STDERR]     ... 130 more&lt;br /&gt;12:34:40,112 INFO  [EmailAction] Error while sending the mail&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;This Bug is Just because of the Absence of the Property&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SUDBOJ-tXkI/AAAAAAAAAhY/984RJIkolFQ/s1600-h/property+2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 31px;" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SUDBOJ-tXkI/AAAAAAAAAhY/984RJIkolFQ/s400/property+2.JPG" alt="" id="BLOGGER_PHOTO_ID_5278431212219489858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Add this property in the&lt;br /&gt;&lt;br /&gt;mail-service.xml as follows.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_E9mmpB2Ty4I/SUDA9WZCjuI/AAAAAAAAAhQ/HS3PZjxjmbY/s1600-h/property+2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 189px;" src="http://2.bp.blogspot.com/_E9mmpB2Ty4I/SUDA9WZCjuI/AAAAAAAAAhQ/HS3PZjxjmbY/s400/property+2.JPG" alt="" id="BLOGGER_PHOTO_ID_5278430923493379810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Asker Ali M&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-2094321564699631646?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/2094321564699631646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=2094321564699631646' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/2094321564699631646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/2094321564699631646'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2008/12/javaxfacesfacesexception-530-570-must.html' title='javax.faces.FacesException: 530 5.7.0 Must issue a STARTTLS command first. b4sm3763817tic.22'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_E9mmpB2Ty4I/SUDBOJ-tXkI/AAAAAAAAAhY/984RJIkolFQ/s72-c/property+2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-7733188046312386083</id><published>2008-12-10T23:04:00.000-08:00</published><updated>2009-11-10T21:01:05.618-08:00</updated><title type='text'>How to Integrate Seam2.0 with GMail SMTP to Send Mails.</title><content type='html'>Hi,&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 1.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For Setting Up the GMail SMTP for the Seam mail Functionality First of All Set the SMTP details in the mail-service.xml in the JBoss\server\default\deploy Folder.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SUDCAQeQtHI/AAAAAAAAAhg/1sYLr1yfENg/s1600-h/property+2.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5278432072955901042" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SUDCAQeQtHI/AAAAAAAAAhg/1sYLr1yfENg/s400/property+2.JPG" style="display: block; height: 425px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 646px;" /&gt;&lt;/a&gt;Create on Mail Template File As Follows.&lt;br /&gt;Also Add the property mail.smtp.auth&lt;br /&gt;&lt;br /&gt;property name="mail.smtp.auth" value="true" in the properties File.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Step 2:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set this Configuration File Entry in Components.xml file as follows.&lt;br /&gt;Comment the Existing Session !-- mail:mail-session host="localhost" port="2525" username="test" password="test" --&lt;br /&gt;&lt;br /&gt;And teh new Entry will be as follows.&lt;br /&gt;mail:mail-session session-jndi-name="java:/Mail"/&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create an XHTML FIle With Mail Format as follows like Simplemail.xhtml&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SUDG7nnf2tI/AAAAAAAAAho/zbov41THrpQ/s1600-h/property+2.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5278437490827451090" src="http://4.bp.blogspot.com/_E9mmpB2Ty4I/SUDG7nnf2tI/AAAAAAAAAho/zbov41THrpQ/s400/property+2.JPG" style="cursor: pointer; display: block; height: 238px; margin: 0px auto 10px; text-align: center; width: 542px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create an Session Bean to handle the Request and Send the mail.Named EmailAction.java&lt;br /&gt;&lt;pre class="brush: java"&gt;import javax.ejb.Local;&lt;br /&gt;&lt;br /&gt;@Local&lt;br /&gt;public interface Email{&lt;br /&gt;public void send();&lt;br /&gt;public void destroy();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;import javax.ejb.Remove;&lt;br /&gt;import javax.ejb.Stateful;&lt;br /&gt;&lt;br /&gt;import org.jboss.seam.annotations.Destroy;&lt;br /&gt;import org.jboss.seam.annotations.In;&lt;br /&gt;import org.jboss.seam.annotations.Logger;&lt;br /&gt;import org.jboss.seam.annotations.Name;&lt;br /&gt;import org.jboss.seam.log.Log;&lt;br /&gt;@Stateful&lt;br /&gt;@Name("email")&lt;br /&gt;public class EmailAction implements Email&lt;br /&gt;{    &lt;br /&gt;    @In(create=true)&lt;br /&gt;    private org.jboss.seam.faces.Renderer renderer;&lt;br /&gt;   &lt;br /&gt;    @Logger private Log log;&lt;br /&gt;    public void send() {&lt;br /&gt;      try {&lt;br /&gt;         renderer.render("/samplemail.xhtml");&lt;br /&gt;         log.info("email sent to asker");&lt;br /&gt;     }catch (Exception e) {&lt;br /&gt;         e.printStackTrace();&lt;br /&gt;         log.info("Error while sending the mail");&lt;br /&gt;     }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    @Remove&lt;br /&gt;    @Destroy&lt;br /&gt;    public void destroy() {}&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Call this send method from any of the JSF Command Button as follows.&lt;br /&gt;h:commandLink value="Send Mail to Asker" action="#{email.send}"/.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3239575593313572660-7733188046312386083?l=askeralim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://askeralim.blogspot.com/feeds/7733188046312386083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3239575593313572660&amp;postID=7733188046312386083' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/7733188046312386083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3239575593313572660/posts/default/7733188046312386083'/><link rel='alternate' type='text/html' href='http://askeralim.blogspot.com/2008/12/how-to-integrate-seam20-with-gmail-smtp.html' title='How to Integrate Seam2.0 with GMail SMTP to Send Mails.'/><author><name>Asker Ali M</name><uri>http://www.blogger.com/profile/13346743839287519939</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-I_IDlvNkpIg/TxnKsL3041I/AAAAAAAABt0/mzr9OcGBM2w/s220/Untitled.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_E9mmpB2Ty4I/SUDCAQeQtHI/AAAAAAAAAhg/1sYLr1yfENg/s72-c/property+2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3239575593313572660.post-5716332372974460183</id><published>2008-12-01T23:36:00.000-08:00</published><updated>2008-12-04T23:09:45.218-08:00</updated><title type='text'>Seam Books and Article Online.</t
