I am tring to call a servlet that render HTML with a <script src="xxx.js"> tag in it and I am getting this error when I invoke getResponse() on my ServletUnitClient:
com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 No servlet mapping defined [http://localhost:8080/pathtomyscript/xxx.js]
Is it possible to load pages that include script files and if so, where should I place it?
Thanks,
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am tring to call a servlet that render HTML with a <script src="xxx.js"> tag in it and I am getting this error when I invoke getResponse() on my ServletUnitClient:
com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 No servlet mapping defined [http://localhost:8080/pathtomyscript/xxx.js]
Is it possible to load pages that include script files and if so, where should I place it?
Thanks,
Martin