Return-Path: Delivered-To: apmail-jakarta-cactus-user-archive@apache.org Received: (qmail 93805 invoked from network); 13 Dec 2002 18:04:20 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Dec 2002 18:04:20 -0000 Received: (qmail 1672 invoked by uid 97); 13 Dec 2002 18:05:29 -0000 Delivered-To: qmlist-jakarta-archive-cactus-user@jakarta.apache.org Received: (qmail 1647 invoked by uid 97); 13 Dec 2002 18:05:28 -0000 Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Cactus Users List" Reply-To: "Cactus Users List" Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 1635 invoked by uid 98); 13 Dec 2002 18:05:27 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Nicholas Lesiecki" To: "Cactus Users List" Subject: RE: Problem with forward Date: Fri, 13 Dec 2002 11:01:30 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <002501c2a2cc$6e0a1da0$0b00a8c0@raibledesigns.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Well, it will work, but Cactus won't "follow" the redirect. You can check the status code of the response (and possibly even the destination--I'm not sure) but you won't get the redirected page... Cheers, nick > -----Original Message----- > From: Matt Raible [mailto:matt@raibledesigns.com] > Sent: Friday, December 13, 2002 10:24 AM > To: 'Cactus Users List' > Subject: RE: Problem with forward > > > So you're saying it's impossible to test if a servlet executed correctly > if it emits a response.sendRedirect? I'm trying to test a login servlet > that encrypts the user's password then redirects to "j_security_check" > and I want to make sure this works. I want to check to see if it > switches correctly to SSL and also that the password gets encrypted. > > Matt > > > -----Original Message----- > > From: Nicholas Lesiecki [mailto:nick@eblox.com] > > Sent: Friday, December 13, 2002 10:14 AM > > To: Cactus Users List > > Subject: RE: Problem with forward > > > > > > Are you using a forward or a response.sendRedirect ? Forwards > > should work, but response.sendRedirect will not... > > > > Cheers, > > Nick > > > > > -----Original Message----- > > > From: Bruno Teixeira de Abreu [mailto:brunotx@ufmg.br] > > > Sent: Tuesday, December 10, 2002 10:59 AM > > > To: 'Cactus Users List' > > > Subject: Problem with forward > > > > > > > > > Hi, > > > > > > I'm having problems with my taglib's tests. > > > The problem is: > > > > > > I have a doStartTag method that calls another method Search. This > > > method Search calls a method SendMsg that is responsible > > for doing a > > > forward to another JSP page. > > > > > > My test class has a beginXXX method, a testXXX method and a endXX > > > method. The problem is that I can't see the output of the > > response of > > > the forwarded page. > > > Just like you do a forward to "Hello.jsp" from your taglib > > action and you > > > get "null" in > > > the response in the endXXX method, instead of getting the > > contents of > > > Hello.jsp. > > > > > > Does anybody know how do I get the right response instead of null?!? > > > > > > Thanks. > > > > > > > > > Bruno Teixeira de Abreu > > > Computacao - 6o. periodo - DCC/UFMG > > > UFMG I. Jr. - "Venha voc� tamb�m!" > > > _____________________________________________________ > > > Visite http://www.dcc.ufmg.br/~brunotx > > > > > > "Participe da Campanha: Natal sem TP, DCC-UFMG." > > > > > > "No meio da dificuldade, est� a oportunidade" > > > (Albert Einstein) > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > > For additional commands, e-mail: > > > > > > > > > > > > > > -- > > To > > unsubscribe, e-mail: > > unsubscribe@jakarta.apache.org> > > For > > additional commands, > > e-mail: > > > > > > -- > To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: