Unable to locate js file in jsp

前端 未结 1 1709
名媛妹妹
名媛妹妹 2020-12-22 08:44

I went through all the SO question posted for this problem. But I didn\'t find solution.

I created project Spring MVC project using IntelliJ Idea and I am using Tomc

相关标签:
1条回答
  • 2020-12-22 09:21

    Do you have resource mappings in your mvc-dispatcher-servlet.xml in for serving up static resources, maybe like following?

    <resources mapping="/js/**" location="/js/**" />
    
    0 讨论(0)
提交回复
热议问题