Setting the default jsp view with spring mvc

前端 未结 4 1717
陌清茗
陌清茗 2020-12-08 08:06

I want to set one of jsp files in my jsps folder as the default view for the application. Is there any way we can tell in that a

4条回答
  •  -上瘾入骨i
    2020-12-08 08:55

    Add

    
    

    to the config file. Then the ROOT will resolve to the abc view. Then add

    
        
        
    
    

    to the config file. This will resolve the view to /WEB-INF/view/abc.jsp.

提交回复
热议问题