tag:blogger.com,1999:blog-3939502048416062406.post7838295793354445771..comments2023-07-29T01:40:58.335-07:00Comments on Binod Java Solution: Get start with Ajax, Ajax simple example with Servlet, Ajax programming with ServletBinod Sumanhttp://www.blogger.com/profile/08999470051156803457noreply@blogger.comBlogger65125tag:blogger.com,1999:blog-3939502048416062406.post-20924749396800513312016-03-24T09:59:14.432-07:002016-03-24T09:59:14.432-07:00Thanks for sharing this helpful article,
AngularJS...Thanks for sharing this helpful article,<br /><a href="https://codebrahma.com/hire-angularjs-development-company/" rel="nofollow">AngularJS development Company </a>stewardhttps://www.blogger.com/profile/06549835762464509108noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-40324471938839495362015-09-24T23:35:57.392-07:002015-09-24T23:35:57.392-07:00Thanks for sharing such a great information..Its r...Thanks for sharing such a great information..Its really nice and informative..<br /><br /><a href="http://www.nettechindia.com/software/courses/java/core-java.php" rel="nofollow">java training institute</a>Anonymoushttps://www.blogger.com/profile/01082286278244873667noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-21496063350752873812015-07-23T03:38:06.736-07:002015-07-23T03:38:06.736-07:00above code works...but values are not getting....u...above code works...but values are not getting....undefined values are shownAnonymoushttps://www.blogger.com/profile/11099794920709133429noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-54828345191974268332014-06-12T09:54:02.129-07:002014-06-12T09:54:02.129-07:00Very interesting article on AJAX and Servlet
Java...Very interesting article on AJAX and Servlet<br /><br /><a href="http://wisentechnologies.com/it-courses/java-training.aspx" title="Java Training in Chennai" rel="nofollow">Java Training in Chennai</a>Mary Brownhttps://www.blogger.com/profile/05695070551792098532noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-76042192321423963102014-04-07T05:08:02.855-07:002014-04-07T05:08:02.855-07:00 I have picked up a lot of handy things out of thi... I have picked up a lot of handy things out of this amazing blog.php developmenthttp://linkssol.com/noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-41928230349829005772014-03-26T18:27:40.908-07:002014-03-26T18:27:40.908-07:00Thanks Sir :)Thanks Sir :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-69515173045275658942014-01-28T01:25:14.556-08:002014-01-28T01:25:14.556-08:00good work :) helped me good work :) helped me Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-20503733995500350382013-12-26T23:09:42.735-08:002013-12-26T23:09:42.735-08:00Hi,
I have a requirement..i need to invalidate ses...Hi,<br />I have a requirement..i need to invalidate session once the browser window is closed.How can i do it using ajax.<br /><br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-63029733942144892682013-12-24T04:12:27.732-08:002013-12-24T04:12:27.732-08:00Thank you Really HelpfulThank you Really HelpfulChandanahttps://www.blogger.com/profile/08535911119236863186noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-23504200095076526702013-12-24T04:11:59.855-08:002013-12-24T04:11:59.855-08:00Thank you ..Really HelpfullThank you ..Really HelpfullChandanahttps://www.blogger.com/profile/08535911119236863186noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-61714674746227199952013-08-29T02:23:58.347-07:002013-08-29T02:23:58.347-07:00If the above does not work , change the getName() ...If the above does not work , change the getName() as follow: Note: change the servlet url:<br /><br /><br />function getName(){<br /> var roll = document.getElementById("roll").value;<br /> var url = "http://localhost:8080//YourServlet?roll="+roll; <br /> if(window.ActiveXObject){ <br /> request = new ActiveXObject("Microsoft.XMLHTTP"); <br /> } else if(window.XMLHttpRequest) { <br /> request = new XMLHttpRequest(); <br /> } <br /> request.onreadystatechange = function (){ <br /> if (request.readyState == 4 ){<br /> var response = request.responseXML;<br /> var students = response.getElementsByTagName("Student"); <br /> for (i=0;i<students.length;i++){<br /> xa=students[i].getElementsByTagName("Name");<br /> document.getElementById("NamelH1").innerHTML = xa[0].firstChild.nodeValue;<br /> xb=students[i].getElementsByTagName("Hostel");<br /> document.getElementById("Hostel H1").innerHTML = xb[0].firstChild.nodeValue;<br /> xc=students[i].getElementsByTagName("Contact");<br /> document.getElementById("Contact H1").innerHTML = xc[0].firstChild.nodeValue;<br /> }<br /> }<br /> } ;<br /> request.open("POST",url,true);<br /> request.send(); <br />}<br /><br />Cheers<br />AnjanAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-15086418659615701792013-07-21T09:40:19.726-07:002013-07-21T09:40:19.726-07:00Hi sir,
i have an requirement that table content ...Hi sir,<br /> i have an requirement that table content should be changed without reloading the page can you provide an example where we can access data from data base from servlet and display it on jsp page or HTML page without reloading the current HTML or jsp pageAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-89167631666098752872013-06-14T00:49:01.284-07:002013-06-14T00:49:01.284-07:00Great Tutorial...
Why google doesn't search th...Great Tutorial...<br />Why google doesn't search this type of blogsAnonymoushttps://www.blogger.com/profile/05524399174853093772noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-48458244607703221702013-06-14T00:47:59.863-07:002013-06-14T00:47:59.863-07:00Great Tutorial..., we don't know why google do...Great Tutorial..., we don't know why google doesn't search this type of blogs.Anonymoushttps://www.blogger.com/profile/05524399174853093772noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-67179926969563951252013-06-11T03:39:14.373-07:002013-06-11T03:39:14.373-07:00Hi Sir,
Can u kindly send me the web.xml file to...Hi Sir,<br /><br />Can u kindly send me the web.xml file to mandadi.praneethkumar@gmail.comAnonymoushttps://www.blogger.com/profile/10622160952280845133noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-3577840141492799502013-06-11T03:38:02.232-07:002013-06-11T03:38:02.232-07:00Hi Sir,
Iam new to web applications.Can u kindly ...Hi Sir,<br /><br />Iam new to web applications.Can u kindly send me the Web.xml for this application to mandadi.praneethkumar@gmail.comAnonymoushttps://www.blogger.com/profile/10622160952280845133noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-72273335586730607522013-04-17T00:09:26.313-07:002013-04-17T00:09:26.313-07:00changes in this line:
request.open("POST"...changes in this line:<br />request.open("POST",url,true);<br />here use method GET instead of POST so your modification is after this:<br />request.open("GET",url,true);<br />because of in servlet,doGet method is used.......simple..!!Anonymoushttps://www.blogger.com/profile/07239831743517476625noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-89500054443061552032013-04-17T00:09:07.823-07:002013-04-17T00:09:07.823-07:00changes in this line:
request.open("POST"...changes in this line:<br />request.open("POST",url,true);<br />here use method GET instead of POST so your modification is after this:<br />request.open("GET",url,true);<br />because of in servlet,doGet method is used.......simple..!!Anonymoushttps://www.blogger.com/profile/07239831743517476625noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-53787364937543424052013-03-18T04:22:37.595-07:002013-03-18T04:22:37.595-07:00Hi, i am developing an application which has one d...Hi, i am developing an application which has one drop down and when a value is selected, it results in another drop down, for this i am using ajax to call a servlet. But i'm getting error here.<br /><br /> function callProcessArea() {<br /> var xmlhttp;<br /> var selectedvalue = document.getElementById("Areaid");<br /> if (microsoft.XMLHttpRequest) <br /> {// code for IE7+, Firefox, Chrome, Opera, Safari<br /> xmlhttp = new XMLHttpRequest();<br /> } <br /> else {// code for IE6, IE5<br /> xmlhttp = new ActiveXObject("microsoft.XMLHTTP");<br /> }<br /> xmlhttp.onreadystatechange = function() {<br /> if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {<br /> document.getElementById("Areaid").innerHTML=xmlhttp.responseText;<br /> }<br /> }<br /> xmlhttp.open("GET", "/S1/src/..servletclasses/ProcessArea", true);<br /> xmlhttp.send();<br /> }<br /><br /> i am getting red marks in eclipse at following places: <br />document.getElementById, new XMLHttpRequest(), new ActiveXObject();xml.http.send(),xmlhttp.open(), <br />pleaseee some one help me with this.abchttps://www.blogger.com/profile/08262540266023816237noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-67482810061301059592012-10-25T23:00:24.424-07:002012-10-25T23:00:24.424-07:00Thank sir i got very much info from blog example.....Thank sir i got very much info from blog example....thank x a lot...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-15544503033156849712012-10-12T03:33:15.830-07:002012-10-12T03:33:15.830-07:00Hello Binod.....
there is no result after clicking...Hello Binod.....<br />there is no result after clicking on get name button <br />plx help meAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-75995644939737490662012-10-12T03:22:14.362-07:002012-10-12T03:22:14.362-07:00helo binod..
I am not able to click n the GET Name...helo binod..<br />I am not able to click n the GET Name BUTTON<br />PLZ HELP MEAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-17493785583404111252012-10-12T03:18:38.860-07:002012-10-12T03:18:38.860-07:00hello binod...
I am not able to click on that butt...hello binod...<br />I am not able to click on that button GET NAMEAnonymoushttps://www.blogger.com/profile/09654471528111591711noreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-31310853869091852282012-09-30T05:41:20.681-07:002012-09-30T05:41:20.681-07:00hi sir,
can u help me in sending the best resource...hi sir,<br />can u help me in sending the best resource from net to learn html,xml,servlet,jsp,ajax.<br />thanQAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3939502048416062406.post-14034906571804466722012-09-19T05:26:26.315-07:002012-09-19T05:26:26.315-07:00http://www.programming-free.com/2012/09/ajax-with-...http://www.programming-free.com/2012/09/ajax-with-servlets-using-jquery-and-json.htmlAnonymoushttps://www.blogger.com/profile/14387354000463854833noreply@blogger.com