servlet packaged into war

1.maven 

pom files to specify the type of packaging

 

2.jdk Tools

Into the servlet directory, execute the jar -cf war name *

Guess you like

Origin www.cnblogs.com/GodZhe/p/12000692.html