For example I have a directory called  /home/user/jsp_pages
And main.jsp file there.
Can I use it in my local Spring MVC project? (Instead of /webapp/WEB-INF/jsp)
We need it because we want to split our work with front-ender.
            Asked
            
        
        
            Active
            
        
            Viewed 255 times
        
    1 Answers
1
            
            
        Its possible basically you will have to modify the application.properties and add your folder location for jsp files
spring.view.prefix: /home/user/jsp_pages
spring.view.suffix: .jsp
Here you can find the full example
 
    
    
        cralfaro
        
- 5,822
- 3
- 20
- 30
- 
                    No, it doesn't work. In property **spring.mvc.view.prefix** - we should write relative path to JSP pages. – Hexxx Nov 10 '16 at 04:34
