Spring MVC absolute URL problem

后端 未结 1 770
猫巷女王i
猫巷女王i 2021-01-02 09:17

Background

I am developing an application (with Spring MVC) with its base path as:

http://localhost:8080/myapplication/         


        
1条回答
  •  天涯浪人
    2021-01-02 09:45

    Use the JSTL c:url tag.

    
    
    

    You can also use the pageContext to prefix the context path.

    
    

    0 讨论(0)
提交回复
热议问题