Announcement Announcement Module
Collapse
No announcement yet.
use FreeMarkerViewResolver and InternalResourceViewResolver Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • use FreeMarkerViewResolver and InternalResourceViewResolver

    maybe I use FreeMarkerViewResolver and InternalResourceViewResolver(JSP) at the same time?
    I try to set different order, when order of FreeMarkerViewResolver is less than order of InternalResourceViewResolver, it always try to find *.ftl instead of *.jsp.

    Is there a way to put these view resolver in a chain?

  • #2
    No...Both are instances of a UrlBasedViewResolver. You will need a different view resolver for either your jsp's or your ftl's. I would checkout the ResourceBundleViewResolver.

    Also check my post answering the same question (but then for Velocity) here.

    Comment

    Working...
    X