jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Lesiecki" <n...@eblox.com>
Subject RE: Problem with forward
Date Fri, 13 Dec 2002 18:02:33 GMT
Hmmmm, that should work. Can you send the list your code and test case (or
the relevant portions)? Perhaps someone else will have an idea.

Cheers,
nick

> -----Original Message-----
> From: Bruno Teixeira de Abreu [mailto:brunotx@ufmg.br]
> Sent: Friday, December 13, 2002 10:31 AM
> To: Cactus Users List
> Subject: RE: Problem with forward
>
>
>
> Nicholas, I'm using   pageContext.forward
>
> Thanks,
>
> Bruno Teixeira de Abreu
>
>
>
> |---------+--------------------------->
> |         |           "Nicholas       |
> |         |           Lesiecki"       |
> |         |           <nick@eblox.com>|
> |         |                           |
> |         |           13/12/2002 15:14|
> |         |           Responder a     |
> |         |           "Cactus Users   |
> |         |           List"           |
> |         |                           |
> |---------+--------------------------->
>
> >-----------------------------------------------------------------
> --------------------------------------------------------------|
>   |
>                                                                 |
>   |        Para:    "Cactus Users List"
> <cactus-user@jakarta.apache.org>
>                         |
>   |        cc:
>                                                                 |
>   |        Assunto: 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:
> <mailto:cactus-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:cactus-user-help@jakarta.apache.org>
>
>
>
>
>
> --
> To unsubscribe, e-mail:   <
> mailto:cactus-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <
> mailto:cactus-user-help@jakarta.apache.org>
>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:cactus-user-help@jakarta.apache.org>





--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message