Eclipse在哪里使用WTP部署Web应用程序? [英] Where does Eclipse deploy web applications using WTP?
问题描述
只是在上下文中定义Eclipse给予Tomcat的.xml
如果要配置此行为,请双击服务器视图中的Tomcat实例,然后检查服务器位置部分。要实现您最初希望/期望的内容,您需要选择使用Tomcat安装,如有必要还可以指定部署路径。
I have a web application (WAR file). When I deploy it through Eclipse 3.5 using the WTP tools, I am able to start the Tomcat server from within Eclipse and view all the pages of the application. However I don't see my WAR file inside the webapps folder of Tomcat home directory (or for that matter its exploded format). I was under the impression that Tomcat reads all web applications under its webapps folder. How does Tomcat read my application in this case? I am using Tomcat 5.5.17 as my application server.
It's just all definied in the context.xml
which Eclipse has given to Tomcat. If you want to configure this behaviour, then doubleclick the Tomcat instance in the servers view and check the Server locations section. To achieve what you initially want/expected, you need to select Use Tomcat installation and if necessary also specify the Deploy path.
这篇关于Eclipse在哪里使用WTP部署Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!