Re: Ignoring Script URLS

"Hassel, Maik" <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
Yes, that would be fine, but I thought I did that? I use

 

HttpUnitOptions.setScriptingEnabled( false );

 

... but my script still tries to load the script source, throwing the
error...

 

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of
Russell Gold
Sent: Tuesday, February 26, 2008 6:12 PM
To: Discussion of use and development of HttpUnit
Subject: Re: [Httpunit-develop] Ignoring Script URLS

 

 

On Feb 25, 2008, at 8:31 PM, Hassel, Maik wrote:





Hello!

 

Is there a way to configure the Servlet Runner or Client in a way that
it ignores Script tags pointing at a specific URL or URL pattern? My
problem is that my response contains script tags pointing to a URL that
of course doesn't exist (e.g. to a Microsoft virytal earth server, so I
get Error on HTTP request: 404 No servlet mapping defined

 

 

Would it be enough to disable scripting when handling the response?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.