remove trailing servlet path slash on WebSphere only (SPR-7064)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3275 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2010-04-20 11:43:20 +00:00
parent 8b8d06ab4c
commit 359680a2df
@@ -295,6 +295,7 @@ public class MvcNamespaceTests {
request.setRequestURI("/myapp/app/bar");
request.setContextPath("/myapp");
request.setServletPath("/app/");
request.setAttribute("com.ibm.websphere.servlet.uri_non_decoded", "/myapp/app/bar");
HandlerExecutionChain chain = mapping2.getHandler(request);
assertEquals(4, chain.getInterceptors().length);
assertTrue(chain.getInterceptors()[1] instanceof ConversionServiceExposingInterceptor);