Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 18958 invoked from network); 4 Feb 2009 09:48:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2009 09:48:19 -0000 Received: (qmail 42734 invoked by uid 500); 4 Feb 2009 09:48:07 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 42703 invoked by uid 500); 4 Feb 2009 09:48:07 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 42692 invoked by uid 99); 4 Feb 2009 09:48:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 01:48:07 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [203.84.221.29] (HELO web8901.mail.in.yahoo.com) (203.84.221.29) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 04 Feb 2009 09:47:58 +0000 Received: (qmail 66843 invoked by uid 60001); 4 Feb 2009 09:47:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=WQ6gR3k7wlz1U5G7bhJlvaH2LIYZQ40uoBm547vl7GHLK/mrE5WxRqKwPh1HpyR6CSDcFcUs9Yd45WO0Zqbeu/78C2qPRpsKv85auRrPbH+V4k74gwbygKfrFnMI/+pkMtvxLl80CODbZ7yGJ9hhEhQeWChsTedAHJuCav5ydSo=; X-YMail-OSG: IrlMqj8VM1kR8Q4Un_BtHFVduUT1mZ63nWlBumGIHBwrDK_TE4fn1S0Q5j0ECZceP4X80pPq_cYxP8npwIcaB8mfailLKpSY0wxDM1SkIe6oaKyJNx2e9TuQoNM4tlXyclFs11rP.hKrNkMeCUqKK3iOIJfzILwUlRvB5tKvY2wXZmmNVvMZpQOGZsOmc8H_nhYgtybN7ybc_1u9awkuCCUeZsruRfM_arIa143XFdPFL2.zxw-- Received: from [86.15.22.1] by web8901.mail.in.yahoo.com via HTTP; Wed, 04 Feb 2009 15:17:26 IST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 4 Feb 2009 15:17:26 +0530 (IST) From: Sneha Manohar Reply-To: sneha_hamsini@yahoo.co.in Subject: sneding Ajax call to jsp page To: users@tomcat.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1830470124-1233740846=:65590" Message-ID: <486219.65590.qm@web8901.mail.in.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1830470124-1233740846=:65590 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi all , I am new to AJAX , I sending ajax request to jsp page , var url =3D "http://localhost:8084/Anoigma/handler/loginHandler.jsp?userId= =3D"+userId+"&pwd=3D"+pwd;=C2=A0 xmlhttp.onreadystatechange=3Dstate_Change; =C2=A0=C2=A0=C2=A0 xmlhttp.open("GET",url,true); =C2=A0=C2=A0=C2=A0 xmlhttp.send(null); =C2=A0 =C2=A0jsp page validates user Id & pwd . I wish to form response text from jsp loginHaandler.jsp with success or fai= lure message ... so that I can take proper action in state_Change method=C2= =A0based on suceess or failure . =C2=A0 Thnaks=20 Sneha=0A=0A=0A Add more friends to your messenger and enjoy! Go to htt= p://messenger.yahoo.com/invite/ --0-1830470124-1233740846=:65590--