Created
January 6, 2011 17:22
-
-
Save tburch/768211 to your computer and use it in GitHub Desktop.
ScalateViewResolver Spring MVC integration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="scalateUrlBasedViewResolver" class="org.fusesource.scalate.spring.view.ScalateViewResolver" p:order="#{contentNegotiatingViewResolver.order+1}"> | |
<property name="prefix" value="/WEB-INF/views/scalate/" /> | |
<property name="suffix" value=".jade" /> | |
</bean> | |
<bean id="urlBasedViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver" p:order="#{scalateUrlBasedViewResolver.order+1}"> | |
<property name="prefix" value="/WEB-INF/views/jsp/" /> | |
<property name="suffix" value=".jsp" /> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment