Spring, Spring MVC 2.5, Tomcat 6.0.
In my controller:
ModelAndView returnModelAndView = new ModelAndView(new InternalViewResolver("/sandbox/test1.jsp"))
Was working.
Then I switched the Tomcat (6.0) context path from "/appname" to "" in order to reference the webapp from the root context "http://localhost:8080/". All my filter, intercept and controller mappings remain working but I cannot get a view to render a simple jsp.
In my controller I test that the file actually exists using getRealPath() and getRequestURI(). But, no matter how I initialize the ModelAndView or whether I return a string and use an xml ViewResolver, I cannot get the jsp to display.