如何在本地服务器上部署项目apache tomcat 7

时间:2014-04-28 16:28:59

标签: apache java-ee

我有一个名为Test的动态网络项目,其中有一个html文件demo.html 我从eclipse创建了Test.war文件 我想在apache tomcat 7上部署它,以便我可以从浏览器运行demo.html

我不想使用eclipse来运行项目

Plz帮助。

1 个答案:

答案 0 :(得分:0)

将战争放入tomcat webapps目录并在windows中启动tomcat使用命令提示符转到tomcat dir / bin然后运行startup.bat.if你使用linux转到tomcat dir / bin然后运行startup.sh。

停止tomcat运行shutdown.bat / shutdown.sh