I'm working on a Spring MVC project where I put all the jsp files in WEB-INF/views
What I want to do is to add more folders for the jsp's, say views/user, views/admin, views/files etc, to keep all the jsp files more organized.
This doesn't seem to work with the InternalResourceViewResolv
er, since you can only specify one folder for all the views (jsp's). Is there a workaround or an alternative viewResolver to solve this issue?
I've pasted a code snippet below of the viewResolver from dispatch-servlet.xml
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
<property name="prefix" value="/WEB-INF/views/" />
<property name="suffix" value=".jsp" />