I'm developing a Spring web-MVC application. I want to share Spring view files (jsp files, css, html) between two projects. How can I do that?
Thanks!
I hope you're familiar with Apache Maven .
My recommendation is to build different modules for your applications, and a third module named eg common for your common classes & files.
The project structure could be the following:
/project
`-- common
`-- app1
`-- app2
So app1 and app2 would have a dependency on common
Please see Maven in 5 minutes on how to start using maven
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.