Samuel Ĺslund - 2009-02-05

Hi all,

I'm trying out Servlet unit to get some tests on a legacy application.
I have got it running on a simple page but all our pages includes external javascript files,
<script language=javascript src="../includes/Title.js">
and I can not find out how to tell the ServletRunner where to find them.

I get (not very surprising):
com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 No servlet mapping defined [http://includes/Title.js]

The file in question is not in the .jar, it is kept in a separate directory for static files on the tomcat server.

Any help is appreciated.
//Samuel