I realise that this is a known issue (Cactus-61) but as I've now run into it I thought I'd do a little investigation.
The problem is that the HttpUnit WebResponse is being created outside a WebClient; it's being created in WebResponseObjectFactory.createHttpUnitWebResponse using reflection. >From what I can gather, when HttpUnit creates a WebResponse, it does it via the ServletUnitClient.getResponse method which invokes updateMainWindow(). This ultimately sets the private member _window in the WebResponse. In Cactus, this is not happening. Note that this is only an issue with included scripts. Has anyone else been able to look into this? It would be superb if this could be fixed... Thanks, Mike ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays Group does not accept legal responsibility for the contents of this message. Although the Barclays Group operates anti-virus programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays Group for operational or business reasons. ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
