Forum Discussion
blupin
12 years agoOccasional Contributor
Hi again,
Thank you for your suggestion.
I've successfully tested another workaround, which conforms to servlet specifications and seems to work on Tomcat :
* Change servlet mapping in web.xml :
* Add this index.html file in root folder :
With these two settings, my index.html file is used on context root request (with or without trailing slash), and it refresh the page to call the SoapUI servlet on a new path : http://localhost:8080/mock/soapui/
This is working but changes the SoapUI mock URL...
Do you know if this should be corrected in a future version ?
Regards
Bernard
Thank you for your suggestion.
I've successfully tested another workaround, which conforms to servlet specifications and seems to work on Tomcat :
* Change servlet mapping in web.xml :
<servlet-mapping>
<servlet-name>SoapUIMockServlet</servlet-name>
<url-pattern>/soapui/*</url-pattern>
</servlet-mapping>
* Add this index.html file in root folder :
<html>
<head>
<title>redirect</title>
<meta http-equiv="refresh" content="0; URL=soapui/">
</head>
<body>
</body>
</html>
With these two settings, my index.html file is used on context root request (with or without trailing slash), and it refresh the page to call the SoapUI servlet on a new path : http://localhost:8080/mock/soapui/
This is working but changes the SoapUI mock URL...
Do you know if this should be corrected in a future version ?
Regards
Bernard