The first step: first in the tomcat directory, a copy webapps named webapps1
below:
Step two: Delete webapps1 in the original war, put packaged second war package;
Figure:
The third step: change conf the configuration files: server.xml
do: copy service tag content; modify the following points:
revised as follows
Step four:
Restart Tomcat,
HTTPS: // localhost: 8082 / WAR1
HTTPS: // localhost: 8083 / WAR2
success