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

This commit is contained in:
Juergen Hoeller 2010-04-20 11:43:20 +00:00
parent 69c4cdf975
commit 1ed05eceb9
1 changed files with 1 additions and 0 deletions

View File

@ -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);