On Saturday 23 viii 2003 at 21:12:48 I wrote:

> I read about self.forward('AnotherServlet') the following sentence:

>   "When that servlet is done, control returns to the calling servlet,
>   but all response text and headers from the calling servlet are
>   discarded"

> It is not true. The control does NOT return to the calling servlet for
> .forward('AnotherServlet') method. It returns only for
> .includeURL('AnotherServlet'), not for forward method.

> ...
> self.application().forward(self.transaction(), 'AnotherServlet')
> open('c:/TestCache.log', 'a').write('>>I am back!!\n')

> Nothing is added to my log file. :(

> ...
> self.application().includeURL(self.transaction(), 'AnotherServlet')
> open('c:/TestCache.log', 'a').write('>>I am back!!\n')

> The log file is changed.
> Is it a bug or I sth. misunderstood?
> BTW, I was using today's WebKit CVS.

I did some tests and I found the control returns to the calling
servlet but not in the way I thought. Second servlet ends with
exception and the cotrol returns directly to awake() method.

--
JZ





-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to