如何在Tomcat 6中部署战争? [英] How can I deploy war in Tomcat 6
问题描述
无时间地将WAR部署到webapps目录中,大概每天大约25次。你不应该有任何问题。如果您想要更多的控制,请自行部署该目录,但这很可能需要重启。
I have used Jboss and deployment happens by dropping war to deploy folder. But when I set my war project to Tomcat server eclipse claims that it is deploying war, but I cannot see my war in webapps folder. And what url is to my war? In jboss I can add app url to jboss-web.xml, so when I set app path to jboss-web.xml I can find my app from http://localhost:8080/my_app_path_in_jboss_web.xml/.
I deploy WARs to the webapps dir all the time without issue, probably ~25 times a day. You shouldn't have any problems with that. If you want more control by all means deploy the directory yourself, but this will most likely require a restart.
这篇关于如何在Tomcat 6中部署战争?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!