1. How to separate the dynamic and static pages of the system and import jsp for separation.
2. The project WebRoot structure is as follows:
Picture description
3. How to separate these plug-ins and static files so that they are not placed in the webroot directory. You can configure the storage location yourself. Can this be achieved using nginx?
I have never learned nginx, and I am very anxious to ask for guidance. Now in a confused state. The static data and plug-ins under the project's webroot are placed below
Now I just want to put the webroot into the jsp file, how to implement this
4. Each jsp is not big, but I don't know why the project takes up such a big area space, so I need to lose weight, please give me some advice
怪我咯2017-05-16 17:09:53
There are too many jar packages. Are resource files also placed in the project? Pictures take up a lot of space
黄舟2017-05-16 17:09:53
I agree with what was said above. Please give the author an analysis of the file type occupation, so that everyone can help you make suggestions. js and pages can occupy 1.2G. Such textual things need to be large to occupy so much of the project.
高洛峰2017-05-16 17:09:53
Use maven to build, divide the large project into small modules, and then configure dependencies in each module.