1. suppose you have aa.war at somewhere/
2. mkdir aa
3. cd aa
4. jar -xvf aa.war
5. cd webapps
6.cp -r somewhere/aa .
7. restart tomcat
I just found
another faster way to do it. In eclipse, when exporting war file, directly
select the tomcat webapps dir. The tomcat will automatically deploy it, so you
don’t need to use tomcat manager to deploy
没有评论:
发表评论