com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 No servlet mapping defined [http://localhost:9080/TempConvertHttp/TempConverterServlet?todayTemp=98]
why do one get this error?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have resolved this error as the ServletUnitClient does not use the host URL i just changed the host url to the name of the servlet registered and it works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting this error while testing the webpage
com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 No servlet mapping defined [http://localhost:9080/TempConvertHttp/TempConverterServlet?todayTemp=98]
why do one get this error?
I have resolved this error as the ServletUnitClient does not use the host URL i just changed the host url to the name of the servlet registered and it works.