Thanks to all who commented on my qyestion. So as I've searched for a correct structure of maven project with css and views I've learnt that all css/jsp/js should be located in webapp folder. best practise is to create "resources" folder and then add css/js/jsp in there. Something like this
webapp
|___WEB-INF
|___resources
|____css
|____js
|____jsp
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.