I'm learning a spring sample project which named countries. In countries-servlet.xml I found some code:
<bean id="errorsController" class="org.springframework.samples.countries.web.E rrorsController">
<property name="methodNameResolver"><ref local="errorsMethodNameResolver"/></property>
</bean>
Yes, it's a bean's reference, but the other code in ErrorsController.java made me puzzle:
return new ModelAndView("errorHttp404View");
I don't know how the errorHttp404View mapping to handle in WEB-INF/views/jsp/errors/http404.jsp


Reply With Quote