-
Apr 16th, 2008, 02:14 PM
#1
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?
-
Apr 16th, 2008, 04:21 PM
#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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules