1. The page writes the IP address and other information
Causes problems: It is not easy for the implementers to maintain, and it is a nightmare to operate multiple environments with such pages that write dead addresses.
Frequent crowd: jsp developers in the underlying development
Correction method: share secondary variables by reading the server address, passing parameters, reading configuration files, and reading database configuration.
The best way: use the "configuration management component" to realize unified management of configuration parameters, which are shared by all components.
2、