spring webmvc mapping the jsp (without controllers)

后端 未结 6 1591
星月不相逢
星月不相逢 2021-01-03 09:47

I am trying to get my hands on Spring 3 web-mvc. I have a simple page link (you know.. thing.

Somehow spring mvc doesn\'t like th

6条回答
  •  悲&欢浪女
    2021-01-03 10:29

    Using spring-webmvc 3.0.6.RELEASE this worked for me:

    
    
    
    
    
    
    
        
        
    
    

    Beans annotated with @Controller and @RequestMapping are called on the appropriate url, any url like secure/* and secure/extreme/* is handled by WEB-INF/views/secure/index.jsp and WEB-INF/views/secure/extreme/index.jsp respectively

提交回复
热议问题