Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 69668 invoked from network); 14 Apr 2004 18:24:56 -0000 Received: from unknown (HELO SB1-ITS-MSW-001.kmv.com) (66.73.218.254) by daedalus.apache.org with SMTP; 14 Apr 2004 18:24:56 -0000 Received: from SF1-ITS-EXC-002.Exchange.kmv.com (unverified) by SB1-ITS-MSW-001.kmv.com (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Wed, 14 Apr 2004 13:24:09 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: beginXXX and endXXX jsp problems Date: Wed, 14 Apr 2004 11:24:08 -0700 Message-ID: <3C939AFDC629BE45849CFC47D848614E07BAED98@sf1-its-exc-002.exchange.kmv.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: beginXXX and endXXX jsp problems Thread-Index: AcQiTSdmsT2WxrfMT4ugihxfbvkPXQAAD/xg From: "Shvartsburd, Feliks" To: "Cactus Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have not had any luck using getText in the past (which is kind of weird).= Instead I use the following: public void endXXX(WebResponse response) { try { java.io.InputStream in =3D response.getInputStream(); BufferedReader br =3D new BufferedReader(new InputStreamReader(in)); String line =3D null; while ((line =3D br.readLine()) !=3D null ){ System.out.println(line); } } catch (Exception e){ e.printStackTrace(); } } =20 -----Original Message----- From: Vincent Massol [mailto:vmassol@pivolis.com] Sent: Wednesday, April 14, 2004 11:19 AM To: 'Cactus Users List' Subject: RE: beginXXX and endXXX jsp problems Hi Conan, Maybe you can check the sample application that comes with the Cactus distribution. The servlet sample would be the best for you. It's located in samples/servlet. Check out the Cactus tests, located in src/. They contain a full suite testing almost all aspects of Cactus. Do a search/grep for getText() and you'll find the test. Thanks -Vincent > -----Original Message----- > From: Conan [mailto:woodsc@f00f.net] > Sent: 14 April 2004 19:41 > To: Cactus Users List > Subject: Re: beginXXX and endXXX jsp problems >=20 > Thanks, I've read the document, so I'll rephrase my question. Can > someone show me how to use getText() to return something other than an > empty string? >=20 > On Wed, Apr 14, 2004 at 09:56:43AM +0900, Kazuhito SUGURI wrote: > > Hi, > > > > In article <20040413181607.GG4858@f00f.net>, > > Tue, 13 Apr 2004 11:16:07 -0700, > > woodsc@f00f.net (Conan) wrote: > > woodsc> Hmm, I didn't realize I had to, as none of the examples seemed > to > > woodsc> require it.(although I guess it makes sense :) ) Unfortunately, > it > > woodsc> doesn't seem to be helping. I imagine I'm missing a core > concept here > > woodsc> somewhere, so I'm going to outline what I think should be > happenning. > > > > A document at > > http://jakarta.apache.org/cactus/how_it_works.html > > might helps you. > > > > Regards, > > ---- > > Kazuhito SUGURI > > mailto:suguri.kazuhito@lab.ntt.co.jp > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: cactus-user-help@jakarta.apache.org >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: cactus-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: cactus-user-help@jakarta.apache.org ----------- The information contained in this e-mail message, and any attachment, is co= nfidential and for use solely by the intended recipient. If you have recei= ved this message in error, please delete this message immediately. Althoug= h Moody's KMV makes every effort to protect its computing environment from = malicious code, Moody's KMV is not responsible for any virus or other type = of suspect code that may be transferred via this e-mail message.