On 8/2/05, David Thielen <[EMAIL PROTECTED]> wrote: > I figure a mock world always has limitations - but better a workable return > than an exception. >
In tonight's (20050803) nightly build, you'll find a new setDocumentRoot(File) method on MockServletContext. This allows you to establish the "document root" directory for getRealPath() resolution in your setUp() method, to whatever makes sense for that test case. Thanks for the idea! > Thanks - dave Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]