Hi,

I have a controller that returns both pages with extension .html and .jsp

But in my spring context.xml file, i only have suffix for .jsp. What do i need to do to have the suffix for .html defined in the config file? How does spring knows which suffix to use?

Code:
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property name="prefix" value="/WEB-INF/" />
    <property name="suffix" value=".jsp" />
</bean>