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
There are too many jar packages. Are resource files also placed in the project? Pictures take up a lot of space
First determine what file size it is
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.
Use maven to build, divide the large project into small modules, and then configure dependencies in each module.