Announcement Announcement Module
Collapse
No announcement yet.
spring config suffix mapping Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring config suffix mapping

    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>
Working...
X